/* Echipa CDPP – core design system. Modules reuse these classes; add module CSS only for module-specific pieces. */
:root {
	--ink: #0f172a;
	--ink-2: #334155;
	--muted: #64748b;
	--line: #e2e8f0;
	--line-2: #cbd5e1;
	--bg: #f1f5f9;
	--card: #ffffff;
	--sunk: #f8fafc;
	--primary: #2563eb;
	--primary-ink: #1d4ed8;
	--primary-soft: #eff6ff;
	--app: var(--primary);
	--app-soft: var(--primary-soft);
	--ok: #047857;
	--ok-soft: #ecfdf5;
	--warn: #b45309;
	--warn-soft: #fffbeb;
	--err: #b91c1c;
	--err-soft: #fef2f2;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 4px 16px rgb(15 23 42 / 6%);
	--focus: 0 0 0 3px rgb(37 99 235 / 35%);
	--font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.ce-app-marketing { --app: #db2777; --app-soft: #fdf2f8; }
.ce-app-panou { --app: #0f172a; --app-soft: #f1f5f9; }

* { box-sizing: border-box; }
html, body.ce-body, body.ce-login-body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
.ce-muted { color: var(--muted); }
.ce-small { font-size: 13px; }
.ce-nowrap { white-space: nowrap; }
.ce-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.ce-top { position: sticky; top: 0; z-index: 50; background: #0f172a; color: #fff; box-shadow: 0 2px 12px rgb(15 23 42 / 20%); }
.ce-top-in { display: flex; align-items: center; gap: 10px 18px; padding: 10px 20px; max-width: 1500px; margin: 0 auto; flex-wrap: wrap; }
.ce-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.ce-brand-dot { width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, #3b82f6, #ec4899); box-shadow: 0 0 0 3px rgb(255 255 255 / 12%); }
.ce-switch { display: flex; gap: 4px; background: rgb(255 255 255 / 8%); border-radius: 999px; padding: 3px; }
.ce-switch a { color: rgb(255 255 255 / 80%); text-decoration: none; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.ce-switch a:hover { color: #fff; background: rgb(255 255 255 / 8%); }
.ce-switch a.is-on { background: #fff; color: #0f172a; }
.ce-switch a.ce-switch-echipa.is-on { box-shadow: inset 0 -2px 0 #2563eb; }
.ce-switch a.ce-switch-marketing.is-on { box-shadow: inset 0 -2px 0 #db2777; }
.ce-user { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ce-user a { color: rgb(255 255 255 / 85%); text-decoration: none; font-weight: 600; font-size: 13px; padding: 6px 10px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px; }
.ce-user a:hover { background: rgb(255 255 255 / 10%); color: #fff; }
.ce-avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #334155; color: #fff; font-size: 11px; font-weight: 800; flex: none; }
.ce-tabs { background: #fff; border-bottom: 1px solid var(--line); color: var(--ink); }
.ce-tabs-in { display: flex; gap: 2px; padding: 0 20px; max-width: 1500px; margin: 0 auto; overflow-x: auto; }
.ce-tabs a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 14px; border-bottom: 3px solid transparent; white-space: nowrap; }
.ce-tabs a:hover { color: var(--ink); }
.ce-tabs a.is-on { color: var(--app); border-bottom-color: var(--app); }

/* ---------- layout ---------- */
.ce-main { max-width: 1500px; margin: 0 auto; padding: 20px 20px 80px; }
.ce-page-head { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ce-page-head h1 { margin: 0; }
.ce-page-head .ce-spacer { flex: 1; }
.ce-narrow { max-width: 640px; }
.ce-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px; }
.ce-card > h2:first-child { margin-top: 0; }
.ce-grid { display: grid; gap: 16px; }
.ce-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ce-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ce-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ce-stack > * + * { margin-top: 10px; }
.ce-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.ce-empty h1, .ce-empty h2 { color: var(--ink); }
.ce-subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.ce-subtabs a, .ce-subtabs button { border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer; }
.ce-subtabs a.is-on, .ce-subtabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- buttons ---------- */
.ce-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ce-btn:hover { border-color: var(--ink-2); }
.ce-btn:disabled { opacity: .5; cursor: not-allowed; }
.ce-btn-primary { background: var(--app); border-color: var(--app); color: #fff; }
.ce-btn-primary:hover { filter: brightness(.94); border-color: var(--app); }
.ce-btn-danger { color: var(--err); border-color: #fecaca; }
.ce-btn-danger:hover { background: var(--err-soft); border-color: var(--err); }
.ce-btn-ghost { border-color: transparent; background: transparent; }
.ce-btn-ghost:hover { background: var(--sunk); border-color: transparent; }
.ce-btn-sm { min-height: 32px; padding: 4px 10px; font-size: 13px; }
.ce-btn-block { width: 100%; }
.ce-btn-lg { min-height: 52px; font-size: 16px; padding: 12px 22px; border-radius: 14px; }
.ce-link { background: none; border: 0; padding: 0; color: var(--primary); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ---------- forms ---------- */
.ce-form { display: grid; gap: 12px; }
.ce-form-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ce-form label, label.ce-field { display: grid; gap: 5px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.ce-form label small, label.ce-field small { font-weight: 500; color: var(--muted); }
.ce-wide { grid-column: 1 / -1; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=url], input[type=search], select, textarea, .ce-input {
	width: 100%; min-height: 40px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font-size: 15px; font-weight: 500; color: var(--ink);
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus); }
.ce-check { display: flex !important; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.ce-check input { width: 18px; height: 18px; accent-color: var(--app); margin: 0; flex: none; }
.ce-invalid { border-color: var(--err) !important; }

/* ---------- notes / badges / chips ---------- */
.ce-note { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--sunk); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.ce-note.is-ok { background: var(--ok-soft); border-color: #a7f3d0; color: var(--ok); }
.ce-note.is-error { background: var(--err-soft); border-color: #fecaca; color: var(--err); }
.ce-note.is-warn { background: var(--warn-soft); border-color: #fde68a; color: var(--warn); }
.ce-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--sunk); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.ce-badge.is-blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.ce-badge.is-green { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.ce-badge.is-amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.ce-badge.is-red { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.ce-badge.is-purple { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.ce-badge.is-gray { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.ce-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--sunk); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.ce-chip .ce-avatar { width: 22px; height: 22px; font-size: 10px; }

/* ---------- tables / lists ---------- */
.ce-table-wrap { overflow-x: auto; }
.ce-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ce-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ce-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ce-table tr:last-child td { border-bottom: 0; }
.ce-table tr.is-click { cursor: pointer; }
.ce-table tr.is-click:hover td { background: var(--sunk); }
.ce-list { display: grid; gap: 8px; }
.ce-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: inherit; cursor: pointer; }
.ce-item:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.ce-item-main { flex: 1; min-width: 0; }
.ce-item-title { font-weight: 700; }
.ce-item-sub { font-size: 13px; color: var(--muted); }

/* ---------- KPI tiles ---------- */
.ce-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.ce-kpi { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.ce-kpi span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ce-kpi strong { display: block; font-size: 24px; font-weight: 800; margin-top: 2px; }
.ce-kpi small { color: var(--muted); font-size: 12px; }

/* ---------- month calendar (shared by modules) ---------- */
.ce-cal { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ce-cal-head, .ce-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ce-cal-head div { padding: 8px 10px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; background: var(--sunk); border-bottom: 1px solid var(--line); }
.ce-cal-day { min-height: 110px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ce-cal-day:nth-child(7n) { border-right: 0; }
.ce-cal-day.is-out { background: #fafbfc; }
.ce-cal-day.is-out .ce-cal-num { color: #94a3b8; }
.ce-cal-day.is-today .ce-cal-num { background: var(--app); color: #fff; }
.ce-cal-num { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 1px 7px; border-radius: 999px; }
.ce-cal-ev { display: block; font-size: 12px; font-weight: 600; padding: 3px 6px; border-radius: 6px; background: color-mix(in srgb, var(--c, var(--app)) 12%, #fff); border-left: 3px solid var(--c, var(--app)); color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.ce-cal-ev:hover { filter: brightness(.96); }
.ce-cal-more { font-size: 12px; color: var(--muted); font-weight: 700; }
.ce-cal-nav { display: flex; align-items: center; gap: 8px; }
.ce-cal-nav strong { min-width: 150px; text-align: center; font-size: 16px; }
@media (max-width: 760px) {
	.ce-cal-day { min-height: 70px; padding: 4px; }
	.ce-cal-ev { font-size: 11px; padding: 2px 4px; }
}

/* ---------- modal ---------- */
.ce-modal { border: 0; padding: 0; border-radius: 18px; width: min(680px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 24px 60px rgb(15 23 42 / 30%); color: var(--ink); }
.ce-modal::backdrop { background: rgb(15 23 42 / 45%); }
.ce-modal-wide { width: min(980px, calc(100vw - 24px)); }
.ce-modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.ce-modal-head h2 { margin: 0; flex: 1; font-size: 18px; }
.ce-modal-x { border: 0; background: var(--sunk); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; }
.ce-modal-body { padding: 18px 20px; }
.ce-modal-foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: #fff; }
.ce-modal-foot .ce-left { margin-right: auto; }
@media (max-width: 600px) {
	.ce-modal { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; margin: 0; }
}

/* ---------- toast ---------- */
.ce-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000; display: grid; gap: 8px; pointer-events: none; }
.ce-toast > div { pointer-events: auto; background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgb(15 23 42 / 30%); }
.ce-toast > div.is-error { background: var(--err); }
.ce-toast > div.is-ok { background: var(--ok); }

/* ---------- uploads / photos ---------- */
.ce-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.ce-photo { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--sunk); border: 1px solid var(--line); }
.ce-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ce-photo a.ce-photo-link { display: grid; place-items: center; width: 100%; height: 100%; font-size: 11px; font-weight: 700; text-align: center; padding: 6px; text-decoration: none; }
.ce-photo button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgb(15 23 42 / 70%); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.ce-photo-add { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 10px; border: 2px dashed var(--line-2); color: var(--muted); font-weight: 700; font-size: 12px; cursor: pointer; text-align: center; background: #fff; }
.ce-photo-add:hover { border-color: var(--app); color: var(--app); }
.ce-photo.is-uploading::after { content: 'Se încarcă…'; position: absolute; inset: 0; display: grid; place-items: center; background: rgb(255 255 255 / 80%); font-size: 11px; font-weight: 700; }

/* ---------- history ---------- */
.ce-history { font-size: 13px; color: var(--muted); }
.ce-history summary { cursor: pointer; font-weight: 700; color: var(--ink-2); }
.ce-history ul { margin: 8px 0 0; padding-left: 18px; }

/* ---------- login ---------- */
html:has(body.ce-login-body), body.ce-login-body { min-height: 100vh; margin: 0; background: #0b1120; color: #0f172a; overflow-x: hidden; }
.lg-bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
.lg-bg i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .55; animation: lg-float 18s ease-in-out infinite alternate; }
.lg-bg .b1 { background: #e4572e; left: -12vmax; top: -16vmax; }
.lg-bg .b2 { background: #0d9488; right: -14vmax; top: 18vh; animation-duration: 22s; animation-delay: -6s; }
.lg-bg .b3 { background: #db2777; left: 22vw; bottom: -24vmax; animation-duration: 26s; animation-delay: -12s; opacity: .4; }
@keyframes lg-float { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.12); } 100% { transform: translate(-4vmax, 7vmax) scale(.95); } }
.lg { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: 48px; max-width: 1080px; margin: 0 auto; padding: 32px 24px; }
.lg-hero { color: #e2e8f0; }
.lg-logo { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font: 800 30px/1 var(--font); color: #fff; background: linear-gradient(135deg, #e4572e, #f59e0b); box-shadow: 0 12px 34px rgb(228 87 46 / 45%); animation: lg-pop .7s cubic-bezier(.2, .9, .3, 1.3) both; }
.lg-logo.sm { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; flex: none; animation-delay: .1s; }
.lg-hello { margin: 26px 0 0; font: 800 clamp(30px, 4vw, 46px)/1.1 var(--font); letter-spacing: -.03em; color: #fff; animation: lg-up .7s .1s both; }
.lg-clock { margin: 6px 0 30px; font: 700 18px/1 var(--font); color: #94a3b8; font-variant-numeric: tabular-nums; animation: lg-up .7s .2s both; }
.lg-apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 420px; }
.lg-apps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 9%); backdrop-filter: blur(6px); animation: lg-up .6s var(--d) both; transition: transform .2s, background .2s; }
.lg-apps li:hover { transform: translateX(6px); background: rgb(255 255 255 / 10%); }
.lg-apps b { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: #fff; background: var(--c); box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 45%, transparent); flex: none; }
.lg-apps span { display: grid; font-size: 13px; color: #94a3b8; }
.lg-apps strong { color: #fff; font-size: 15px; }
.lg-card { background: rgb(255 255 255 / 97%); border-radius: 26px; padding: 30px; box-shadow: 0 40px 90px rgb(0 0 0 / 45%); animation: lg-up .7s .15s both; }
.lg-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.lg-head h1 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.lg-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.ce-login-form { display: grid; gap: 15px; }
.ce-login-form label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.ce-login-form input[type=text], .ce-login-form input[type=password], .lg-pw input { width: 100%; min-height: 50px; font-size: 16px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.ce-login-form input:focus { border-color: #e4572e; box-shadow: 0 0 0 4px rgb(228 87 46 / 15%); outline: none; }
.lg-pw { position: relative; display: block; }
.lg-pw input { padding-right: 52px; }
.lg-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 38px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; font-size: 17px; opacity: .55; }
.lg-eye:hover, .lg-eye[aria-pressed=true] { opacity: 1; background: var(--sunk); }
.ce-login-form .ce-check { font-weight: 600; color: var(--ink-2); }
.ce-login-form .ce-check input { accent-color: #e4572e; }
.lg-go { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: 14px; font: 800 16px/1 var(--font); color: #fff; cursor: pointer; background: linear-gradient(135deg, #e4572e, #f97316); box-shadow: 0 10px 26px rgb(228 87 46 / 35%); transition: transform .15s, box-shadow .15s; }
.lg-go:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgb(228 87 46 / 42%); }
.lg-go i { font-style: normal; transition: transform .2s; }
.lg-go:hover i { transform: translateX(4px); }
.lg-go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 35%) 50%, transparent 70%); transform: translateX(-100%); animation: lg-shine 3.5s 1.2s ease-in-out infinite; }
.lg-go.is-busy span::after { content: '…'; }
.lg-go.is-busy { pointer-events: none; opacity: .85; }
.lg-go:disabled { opacity: .5; cursor: not-allowed; }
.ce-login-forgot { justify-self: center; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.ce-login-forgot:hover { color: #e4572e; }
.ce-login-msg { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; animation: lg-up .4s both; }
.ce-login-msg.is-error { background: var(--err-soft); color: var(--err); animation: lg-shake .4s both; }
.ce-login-msg.is-info { background: var(--ok-soft); color: var(--ok); }
@keyframes lg-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lg-pop { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes lg-shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes lg-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (max-width: 860px) {
	.lg { grid-template-columns: 1fr; gap: 22px; padding: 22px 16px 32px; align-content: start; }
	.lg-hero { text-align: center; }
	.lg-logo { margin: 8px auto 0; width: 54px; height: 54px; font-size: 26px; }
	.lg-hello { margin-top: 14px; font-size: 30px; }
	.lg-clock { margin-bottom: 0; }
	.lg-apps { display: none; }
	.lg-card { padding: 22px; border-radius: 22px; }
	.lg-head .lg-logo { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lg-bg i, .lg-go::after { animation: none; } .lg-logo, .lg-hello, .lg-clock, .lg-apps li, .lg-card, .ce-login-msg { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
	.ce-top-in { padding: 8px 12px; gap: 8px; }
	.ce-user-label { display: none; }
	.ce-switch { order: 3; width: 100%; justify-content: center; }
	.ce-switch a { flex: 1; text-align: center; padding: 6px 8px; }
	.ce-tabs-in { padding: 0 8px; }
	.ce-main { padding: 14px 12px 80px; }
	.ce-card { padding: 14px; }
	h1 { font-size: 21px; }
}

/* work-in-progress modules (Marketing → SEO, Newsletter) */
.ce-wip { max-width: 560px; margin: 48px auto; text-align: center; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 40px 28px; }
.ce-wip-ic { font-size: 44px; margin-bottom: 8px; animation: ce-wip-bob 3s ease-in-out infinite; }
.ce-wip-tag { display: inline-block; margin: 0 0 14px; padding: 3px 12px; border-radius: 999px; background: #fef3c7; color: #92400e; font-weight: 700; font-size: 13px; }
.ce-wip p { color: var(--ink-2); }
@keyframes ce-wip-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .ce-wip-ic { animation: none; } }
.ce-app-pontaj { --app: #0d9488; --app-soft: #f0fdfa; }
.ce-app-taskuri { --app: #e4572e; --app-soft: #fff7ed; }

/* ---------- person form (Panou → Oameni) ---------- */
.pp-modal { width: min(760px, calc(100vw - 24px)); }
.pp { display: grid; gap: 14px; }
.pp label { display: grid; gap: 5px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.pp label small, .pp-pw small, .pp-linkrow small { font-weight: 500; color: var(--muted); font-size: 12px; }
.pp label em { font-style: normal; font-weight: 500; color: var(--muted); }
.pp input[type=text], .pp input[type=email], .pp input[type=tel], .pp select { width: 100%; min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); box-sizing: border-box; }
.pp input:focus, .pp select:focus { outline: none; border-color: var(--app); box-shadow: var(--focus); }
.pp-top { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: end; }
.pp-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; }
.pp-name input { font-size: 18px !important; font-weight: 700 !important; }
.pp-sec { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; background: var(--sunk); }
.pp-sec h3 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; align-items: start; }
.pp-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 14px; }
.pp-switch { display: flex !important; align-items: flex-start; gap: 10px; cursor: pointer; }
.pp-switch input { position: absolute; opacity: 0; pointer-events: none; }
.pp-switch > span:last-child { display: grid; gap: 2px; color: var(--ink); }
.pp-track { flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .15s; margin-top: 1px; }
.pp-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 25%); transition: transform .15s; }
.pp-switch input:checked + .pp-track { background: var(--ok); }
.pp-switch input:checked + .pp-track::after { transform: translateX(16px); }
.pp-switch input:focus-visible + .pp-track { box-shadow: var(--focus); }
.pp-switch input:disabled + .pp-track { opacity: .5; }
.pp-pw { display: grid; gap: 6px; }
.pp-lbl { font-weight: 600; font-size: 13px; color: var(--ink-2); }
.pp-pwset { display: flex; gap: 8px; }
.pp-pwset input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; letter-spacing: .03em; }
.pp-pwset[hidden], #ppAcc[hidden] { display: none; }
.pp-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; background: #e9eef4; border-radius: 10px; padding: 3px; }
.pp-seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.pp-seg button:hover { color: var(--ink); }
.pp-seg button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(15 23 42 / 18%); }
.pp-seg button:focus-visible { outline: none; box-shadow: var(--focus); }
.pp-linkrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.pp-acc { display: grid; gap: 8px; }
.pp-accrow { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 8px 14px; }
.pp-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pp-accname { flex: 1; display: grid; line-height: 1.2; }
.pp-accname small { color: var(--muted); font-size: 12px; font-weight: 500; }
.pp-cred { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pp-cred > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 14px; background: #fff; align-items: baseline; }
.pp-cred span { color: var(--muted); font-size: 13px; font-weight: 600; }
.pp-cred b { word-break: break-all; }
.pp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; letter-spacing: .04em; }
.pp-link { font-weight: 500; font-size: 13px; }
@media (max-width: 600px) {
	.pp-modal { width: 100vw; }
	.pp-top { grid-template-columns: 48px 1fr; }
	.pp-av { width: 48px; height: 48px; font-size: 17px; }
	.pp-g2, .pp-sw { grid-template-columns: 1fr; }
	.pp-accrow { flex-wrap: wrap; }
	.pp-accrow .pp-seg { width: 100%; }
	.pp-accrow .pp-seg button { flex: 1; }
}

/* set-password page: whose account */
.lg-acct { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 16px; border-radius: 14px; background: linear-gradient(135deg, #fff7ed, #fdf2f8); border: 1px solid #fde4d3; }
.lg-av { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f97316, #db2777); }
.lg-acct small { display: block; font-size: 12px; color: #64748b; font-weight: 600; }
.lg-acct strong { display: block; font-size: 18px; color: #0f172a; line-height: 1.2; }
.lg-acct div > span { display: block; font-size: 13px; color: #475569; margin-top: 1px; }
.ce-login-form input[type=password] { width: 100%; }

/* copy buttons: confirmation state */
.ce-btn.is-copied, .ce-btn.is-copied:hover { background: var(--ok); border-color: var(--ok); color: #fff; filter: none; }
