/* ══════════════════════════════════════════════════════
   DASHBOARD — Header · Stats Ribbon · Metrics · Steps
   Share Kit · Files · Notifications · User Card
══════════════════════════════════════════════════════ */

/* ── DASHBOARD SHELL ──────────────────────────────── */
#emb-dash { display: none; flex-direction: column; min-height: calc(100vh - 16px); }
#emb-dash.visible { display: flex; }
main.emb-main { flex: 1; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s4) clamp(var(--s3), 2.5vw, var(--s6)) var(--s10); }

/* ── HEADER ───────────────────────────────────────── */
.emb-hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,6,6,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: var(--s3) clamp(var(--s3), 2.5vw, var(--s6));
  display: flex; align-items: stretch; gap: var(--s4);
  animation: slideDown .5s both;
}
.emb-hdr-left { flex: 1; display: flex; align-items: center; gap: var(--s5); min-width: 0; }
.emb-hdr-logo { width: 80px; height: auto; flex-shrink: 0; transition: width .3s var(--ease-out); cursor: pointer; }
.emb-hdr.scrolled .emb-hdr-logo { width: 52px; }
.emb-hdr.scrolled .emb-cd-foot { display: none; }
.emb-hdr-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.emb-hdr-title { font-family: var(--font-display); font-size: clamp(.9rem,2vw,1.25rem); font-weight: 400; color: var(--text); line-height: 1.2; }
.emb-hdr-sub   { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: var(--s2); }

/* Countdown */
.emb-countdown {
  display: inline-flex; flex-direction: column; gap: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: var(--s2) var(--s4);
  width: fit-content;
}
.emb-cd-clock { display: flex; align-items: baseline; gap: .5rem; line-height: 1.3; }
.emb-cd-unit  { display: flex; align-items: baseline; gap: .1rem; }
.emb-cd-num   { font-family: var(--font); font-size: .9rem; font-weight: 400; color: #f8f8f8; letter-spacing: .04em; }
.emb-cd-u     { font-family: var(--font-mono); font-size: .46rem; color: #f8f8f8; letter-spacing: .1em; text-transform: uppercase; }
.emb-cd-foot  { font-family: var(--font-mono); font-size: .55rem; letter-spacing: .18em; color: var(--text); text-transform: uppercase; line-height: 1.4; }

/* Header right cluster */
.emb-hdr-right { display: flex; align-items: stretch; gap: var(--s3); flex-shrink: 0; }

/* Bell button */
.emb-bell-btn {
  position: relative; background: none; border: none;
  padding: var(--s2); color: var(--text-dim);
  transition: color var(--dur-base); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  display: none;
}
.emb-bell-btn:hover { color: var(--text); }
.emb-bell-btn svg { width: 22px; height: 22px; }
.emb-bell-label { font-family: var(--font-mono); font-size: .46rem; letter-spacing: .12em; text-transform: uppercase; color: inherit; }
.emb-bell-badge {
  position: absolute; top: 0; right: 0;
  background: var(--danger); color: #fff;
  font-family: var(--font-mono); font-size: .52rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: badgePop .4s var(--ease-out) both;
}
.emb-bell-badge.hidden { display: none; }

/* WhatsApp button */
.emb-btn-wa {
  position: relative; background: none; border: none;
  padding: var(--s2); color: var(--text-dim);
  transition: color var(--dur-base); cursor: pointer;
  display: none; flex-direction: column; align-items: center; gap: .15rem;
}
.emb-btn-wa:hover { color: #25d366; }
.emb-btn-wa img { width: 22px; height: 22px; opacity: .65; transition: opacity var(--dur-base); }
.emb-btn-wa:hover img { opacity: 1; }
.emb-btn-wa-label { font-family: var(--font-mono); font-size: .46rem; letter-spacing: .12em; text-transform: uppercase; color: inherit; white-space: nowrap; }

/* Desktop user card */
#emb-user-card {
  background: var(--bg-card); width: 300px; flex-shrink: 0;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-sm); border: 1px solid var(--border);
}
.emb-uc-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s2) var(--s3);
  font-family: var(--font-mono); font-size: .52rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); line-height: 1;
}
.emb-uc-quit {
  color: var(--text); text-decoration: underline; cursor: pointer;
  font-family: var(--font-mono); font-size: .52rem;
  letter-spacing: .14em; text-transform: uppercase;
  background: none; border: none; padding: 0;
  transition: color var(--dur-base); line-height: 1;
}
.emb-uc-quit:hover { color: var(--accent); }
.emb-uc-body { display: flex; align-items: center; gap: .7rem; padding: var(--s3); flex: 1; }
.emb-uc-photo { width: 48px; height: 48px; background: var(--bg-card-2); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.emb-uc-photo img { width: 100%; height: 100%; object-fit: cover; }
.emb-uc-init { font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--accent); }
.emb-uc-data { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.emb-uc-name { font-family: var(--font); font-size: .8rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1; }
.emb-uc-name em { color: var(--text-muted); font-style: normal; }
.emb-uc-lote { font-family: var(--font-mono); font-size: .52rem; letter-spacing: .1em; color: var(--text-muted); text-transform: uppercase; }
.emb-uc-lote strong { color: var(--accent); }
.emb-uc-code-lbl { font-family: var(--font-mono); font-size: .5rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-muted); }
.emb-uc-code-row { display: flex; align-items: center; gap: .3rem; position: relative; }
.emb-uc-code { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .18em; color: var(--text); }
.emb-btn-copy { background: none; border: none; padding: .15rem; cursor: pointer; color: var(--text-muted); display: flex; align-items: center; transition: color var(--dur-base); flex-shrink: 0; }
.emb-btn-copy:hover { color: var(--accent); }
.emb-btn-copy svg { width: 12px; height: 12px; }
.emb-uc-foot { background: var(--bg-card-2); padding: var(--s2) var(--s3); display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

/* ── QUICK STATS RIBBON ───────────────────────────── */
.emb-ribbon {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; gap: 0;
  overflow: hidden; animation: slideDown .4s .1s both;
  flex-wrap: wrap;
}
.emb-ribbon-item {
  flex: 1; min-width: 140px;
  display: flex; flex-direction: column; gap: .2rem;
  padding: var(--s3) var(--s5);
  border-right: 1px solid var(--border);
}
.emb-ribbon-item:last-child { border-right: none; }
.emb-ribbon-lbl { font-family: var(--font-mono); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.emb-ribbon-val { font-family: var(--font-mono); font-size: .95rem; font-weight: 700; color: var(--text); letter-spacing: .06em; }
.emb-ribbon-val.accent { color: var(--accent); }
.emb-ribbon-val.success { color: var(--success); }

/* ── OPERATION TIMELINE ───────────────────────────── */
.emb-status-sec { animation: fadeUp .5s .1s both; }
.emb-status-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s5) var(--s6);
}
.emb-steps-scroll-wrap { position: relative; margin-top: var(--s4); }
.emb-steps-fade-l,
.emb-steps-fade-r {
  position: absolute; top: 0; bottom: 0; width: 48px; z-index: 1; pointer-events: none;
}
.emb-steps-fade-l { left: 0; background: linear-gradient(to right, var(--bg-card), transparent); }
.emb-steps-fade-r { right: 0; background: linear-gradient(to left, var(--bg-card), transparent); }
.emb-steps-scroll { overflow-x: auto; scrollbar-width: none; padding-bottom: var(--s2); }
.emb-steps-scroll::-webkit-scrollbar { display: none; }
.emb-steps-inner { display: flex; align-items: flex-start; min-width: 100%; padding: 0 var(--s6) var(--s1); gap: 0; }

.emb-step { display: flex; flex-direction: column; align-items: center; gap: var(--s2); min-width: 88px; flex-shrink: 0; position: relative; }
.emb-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border-2);
  background: var(--bg-card-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all var(--dur-base);
}
.emb-step.done .emb-step-dot { background: var(--success); border-color: var(--success); }
.emb-step.done .emb-step-dot::after { content: ''; width: 8px; height: 5px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(-45deg) translateY(-1px); }
.emb-step.in-progress .emb-step-dot { border-color: var(--accent); background: var(--accent-dim); animation: pulseAccent 2s ease-in-out infinite; }
.emb-step.in-progress .emb-step-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.emb-step-label { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); text-align: center; line-height: 1.4; max-width: 80px; }
.emb-step.done .emb-step-label { color: var(--success); opacity: .8; }
.emb-step.in-progress .emb-step-label { color: var(--accent); }
.emb-step-line { flex: 1; min-width: 48px; height: 2px; background: var(--border-2); flex-shrink: 0; align-self: flex-start; margin-top: 13px; }
.emb-step-line.done { background: var(--success); opacity: .5; }

/* ── METRICS SECTION ──────────────────────────────── */
.emb-metrics-sec {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s4);
  animation: fadeUp .5s .15s both;
}

/* Base metric card */
.emb-metric-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s3);
  position: relative; overflow: hidden;
  transition: border-color var(--dur-base), transform var(--dur-base);
}
.emb-metric-card:hover { border-color: var(--border-2); transform: translateY(-1px); }
.emb-metric-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, var(--accent-dim) 0%, transparent 60%);
  pointer-events: none; opacity: 0; transition: opacity var(--dur-slow);
}
.emb-metric-card:hover::before { opacity: 1; }

.emb-metric-title { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.emb-metric-big { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 400; color: var(--text); line-height: 1; transition: all var(--dur-base); }
.emb-metric-big.accent { color: var(--accent); }
.emb-metric-sub { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; color: var(--text-muted); }

/* Cashback card */
.emb-cashback-card { grid-column: 1; }
.emb-cashback-val { display: flex; align-items: baseline; gap: .4rem; }
.emb-cashback-pfx { font-family: var(--font-mono); font-size: 1rem; color: var(--text-dim); }
.emb-cashback-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Invite progress bar */
.emb-inv-progress-wrap { display: flex; flex-direction: column; gap: var(--s2); }
.emb-inv-progress-track { height: 4px; background: var(--bg-elevated); border-radius: 2px; overflow: hidden; }
.emb-inv-progress-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width .8s var(--ease-out); }
.emb-inv-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.emb-btn-meus-conv {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
  background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: .25rem .7rem;
  transition: color var(--dur-base), border-color var(--dur-base); cursor: pointer;
}
.emb-btn-meus-conv:hover { color: var(--accent); border-color: var(--accent); }

/* Ranking card */
.emb-rank-gap {
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .06em;
  color: var(--text-dim); line-height: 1.5;
}
.emb-rank-gap strong { color: var(--accent); }
.emb-rank-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.emb-badge-pos {
  display: flex; align-items: center; gap: .3rem;
  background: var(--accent-dim); border: 1px solid var(--accent-mid);
  border-radius: var(--r-full); padding: .2rem .6rem;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 700; color: var(--accent); letter-spacing: .08em;
}
.emb-badge-of {
  background: var(--bg-card-2); border: 1px solid var(--border-2);
  border-radius: var(--r-full); padding: .2rem .6rem;
  font-family: var(--font-mono); font-size: .6rem; color: var(--text-dim); letter-spacing: .08em;
}

/* ── SHARE KIT ────────────────────────────────────── */
.emb-sharekit-sec { animation: fadeUp .5s .2s both; }
.emb-sharekit-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s5) var(--s6);
  display: flex; align-items: center; gap: var(--s6); flex-wrap: wrap;
}
.emb-sharekit-left { flex: 1; min-width: 200px; }
.emb-sharekit-title { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s3); }
.emb-sharekit-msg {
  background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: var(--s3) var(--s4);
  font-size: .875rem; color: var(--text-dim); line-height: 1.6;
  font-style: italic;
}
.emb-sharekit-msg strong { color: var(--accent); font-style: normal; }
.emb-sharekit-actions { display: flex; gap: var(--s3); flex-shrink: 0; flex-wrap: wrap; }
.emb-btn-share {
  display: flex; align-items: center; gap: .5rem;
  padding: var(--s3) var(--s5);
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase; border-radius: var(--r-md);
  transition: all var(--dur-base); cursor: pointer;
}
.emb-btn-share-copy { background: var(--bg-elevated); border: 1px solid var(--border-2); color: var(--text-dim); }
.emb-btn-share-copy:hover { border-color: var(--accent); color: var(--accent); }
.emb-btn-share-wa { background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.3); color: #25d366; }
.emb-btn-share-wa:hover { background: rgba(37,211,102,.2); }

/* ── FILES SECTION ────────────────────────────────── */
.emb-files-sec { animation: fadeUp .5s .25s both; }
.emb-files-inner { }
.emb-files-title { font-family: var(--font-display); font-size: clamp(1.2rem,2.5vw,1.6rem); font-weight: 400; color: var(--text); padding-bottom: var(--s4); }
.emb-files-scroll-wrap {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, black calc(100% - 28px), transparent);
  transition: -webkit-mask-image .2s, mask-image .2s;
}
.emb-files-scroll-wrap.scrolled {
  -webkit-mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
}
.emb-files-scroll { display: flex; gap: var(--s4); overflow-x: auto; padding-bottom: var(--s4); scrollbar-width: none; }
.emb-files-scroll::-webkit-scrollbar { display: none; }

.emb-doc-card {
  flex-shrink: 0; width: 200px;
  background: #f8f8f8; color: #1a1a1a;
  border-radius: 3px; padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s2);
  position: relative; overflow: hidden;
  box-shadow: 3px 4px 0 #d0d0d0, 0 8px 20px rgba(0,0,0,.25);
  transition: transform var(--dur-base), box-shadow var(--dur-base);
  transform: rotate(-0.5deg);
}
.emb-doc-card:nth-child(even) { transform: rotate(.4deg); }
.emb-doc-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 3px 8px 0 #c0c0c0, 0 16px 32px rgba(0,0,0,.3); }
.emb-doc-card.has-link { cursor: pointer; }
.emb-doc-card.no-link { cursor: default; }
.emb-doc-code { font-family: var(--font-mono); font-size: .52rem; letter-spacing: .06em; color: #888; }
.emb-doc-stamp {
  display: inline-block; font-family: var(--font-mono); font-size: .56rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 2px; width: fit-content;
  border: 1.5px solid;
}
.emb-stamp-red  { color: #b01a1a; border-color: #b01a1a; }
.emb-stamp-navy { color: #1a2b70; border-color: #1a2b70; }
.emb-stamp-grn  { color: #1a6b2f; border-color: #1a6b2f; }
.emb-doc-title { font-family: var(--font); font-size: .8rem; color: #222; line-height: 1.4; flex: 1; }
.emb-doc-redact { height: 6px; background: #ccc; border-radius: 1px; }
.emb-doc-redact.med   { width: 80%; }
.emb-doc-redact.short { width: 55%; }
.emb-doc-foot { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: .52rem; color: #888; margin-top: var(--s1); }
.emb-doc-coming { font-style: italic; }
.emb-doc-arrow { font-size: 1rem; color: #333; }

/* ── NOTIFICATION MODAL (must-dismiss) ────────────── */
#emb-notif-modal {
  position: fixed; inset: 4px; z-index: 600;
  background: rgba(0,0,0,.92); display: none;
  align-items: center; justify-content: center; padding: var(--s4);
}
#emb-notif-modal.show { display: flex; animation: fadeIn .3s both; }
.emb-notif-card {
  width: 100%; max-width: 440px; background: var(--bg-card);
  border: 1px solid var(--border-2); border-radius: var(--r-lg);
  position: relative; animation: notifIn .4s var(--ease-out) both;
  box-shadow: var(--shadow-xl);
}
.emb-notif-card.type-info    { border-color: rgba(74,158,255,.3);  background: linear-gradient(160deg, rgba(74,158,255,.07) 0%, var(--bg-card) 60%); }
.emb-notif-card.type-alert   { border-color: rgba(224,85,85,.3);  background: linear-gradient(160deg, rgba(224,85,85,.07) 0%, var(--bg-card) 60%); }
.emb-notif-card.type-destaque{ border-color: rgba(216,250,46,.3); background: linear-gradient(160deg, rgba(216,250,46,.06) 0%, var(--bg-card) 60%); }
.emb-notif-card-icon { font-size: 28px !important; flex-shrink: 0; }
.type-info .emb-notif-card-icon    { color: var(--notif-info); }
.type-alert .emb-notif-card-icon   { color: var(--notif-alert); }
.type-destaque .emb-notif-card-icon{ color: var(--notif-dest); }
.emb-notif-header { padding: var(--s4) var(--s5) var(--s3); display: flex; align-items: center; gap: var(--s3); }
.emb-notif-type-label { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; }
.type-info .emb-notif-type-label     { color: var(--notif-info); }
.type-alert .emb-notif-type-label    { color: var(--notif-alert); }
.type-destaque .emb-notif-type-label { color: var(--notif-dest); }
.emb-notif-body { padding: 0 var(--s5) var(--s5); font-size: .95rem; color: var(--text-dim); line-height: 1.65; }
.emb-notif-date { padding: var(--s3) var(--s5); font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.emb-btn-dismiss {
  background: var(--text); color: var(--bg);
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: var(--s2) var(--s5); border-radius: 0 0 var(--r-lg) var(--r-lg);
  transition: background var(--dur-base); width: 100%;
}
.emb-btn-dismiss:hover { background: var(--accent); }

/* ── NOTIFICATION SIDEBAR ─────────────────────────── */
#emb-notif-sidebar {
  position: fixed; top: 4px; right: 4px; bottom: 4px; z-index: 500;
  width: min(380px, 100vw); background: var(--bg-card);
  border-left: 1px solid var(--border-2); display: none;
  flex-direction: column; overflow: hidden;
  box-shadow: -8px 0 32px rgba(0,0,0,.5);
}
#emb-notif-sidebar.show { display: flex; animation: slideRight .35s var(--ease-out) both; }
.emb-sidebar-hdr { padding: var(--s4) var(--s5); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.emb-sidebar-title { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); }
.emb-sidebar-close { color: var(--text-muted); font-size: 1.4rem; line-height: 1; padding: var(--s1); transition: color var(--dur-base); cursor: pointer; }
.emb-sidebar-close:hover { color: var(--text); }
.emb-sidebar-list { flex: 1; overflow-y: auto; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.emb-notif-item { border: 1px solid var(--border); border-radius: var(--r-sm); padding: var(--s4); display: flex; gap: var(--s3); }
.emb-notif-item.type-info    { background: rgba(74,158,255,.08); border-color: rgba(74,158,255,.22); }
.emb-notif-item.type-alert   { background: rgba(224,85,85,.08);  border-color: rgba(224,85,85,.22); }
.emb-notif-item.type-destaque{ background: rgba(216,250,46,.06); border-color: rgba(216,250,46,.22); }
.emb-notif-icon { font-size: 18px !important; flex-shrink: 0; margin-top: .05rem; line-height: 1; }
.emb-notif-item.type-info .emb-notif-icon    { color: var(--notif-info); }
.emb-notif-item.type-alert .emb-notif-icon   { color: var(--notif-alert); }
.emb-notif-item.type-destaque .emb-notif-icon{ color: var(--notif-dest); }
.emb-notif-item-body { flex: 1; min-width: 0; }
.emb-notif-item-type { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--s2); }
.emb-notif-item.type-info .emb-notif-item-type    { color: var(--notif-info); }
.emb-notif-item.type-alert .emb-notif-item-type   { color: var(--notif-alert); }
.emb-notif-item.type-destaque .emb-notif-item-type{ color: var(--notif-dest); }
.emb-notif-item-text { font-size: .875rem; color: var(--text-dim); line-height: 1.6; margin-bottom: var(--s2); }
.emb-notif-item-date { font-family: var(--font-mono); font-size: .56rem; color: var(--text-muted); letter-spacing: .08em; }
.emb-sidebar-empty { text-align: center; color: var(--text-muted); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: var(--s10) var(--s4); }

/* ── ADMIN COMPACT BUTTON (header) ───────────────── */
.emb-btn-admin {
  position: relative; background: none; border: none;
  padding: var(--s2); color: var(--warning);
  transition: color var(--dur-base); cursor: pointer;
  display: none; flex-direction: column; align-items: center; gap: .15rem;
}
.emb-btn-admin:hover { color: #e8a820; }
.emb-btn-admin .material-symbols-outlined { font-size: 22px; line-height: 1; }
.emb-btn-admin-label { font-family: var(--font-mono); font-size: .46rem; letter-spacing: .12em; text-transform: uppercase; color: inherit; }

/* ── BETA TAG ─────────────────────────────────────── */
.emb-beta-tag {
  font-family: var(--font-mono); font-size: .44rem;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--accent-dim); border: 1px solid var(--accent-mid);
  color: var(--accent); border-radius: var(--r-full);
  padding: .1rem .4rem; vertical-align: middle;
  margin-left: .35rem; display: inline-block; line-height: 1.6;
}

/* ── CONVIDADOS POPUP ─────────────────────────────── */
.emb-conv-hdr {
  text-align: center; padding: var(--s6) var(--s6) var(--s4);
  border-bottom: 1px solid var(--border);
}
.emb-conv-num {
  font-family: var(--font-display); font-size: 3.5rem; color: var(--accent); line-height: 1;
}
.emb-conv-lbl { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-top: var(--s2); }
.emb-conv-list { max-height: 320px; overflow-y: auto; padding: var(--s3) var(--s4); }
.emb-conv-list-item {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s2) var(--s2); border-bottom: 1px solid var(--border);
}
.emb-conv-list-item:last-child { border-bottom: none; }
.emb-conv-list-num { font-family: var(--font-mono); font-size: .54rem; color: var(--text-muted); width: 20px; text-align: right; flex-shrink: 0; }
.emb-conv-list-name { font-size: .9rem; color: var(--text-dim); }
.emb-conv-list-empty { text-align: center; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); padding: var(--s6) var(--s4); }

/* ── FOOTER ───────────────────────────────────────── */
.emb-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: var(--s8) clamp(var(--s3), 2.5vw, var(--s6));
  margin-top: var(--s6);
}
.emb-footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--s6); flex-wrap: wrap;
}
.emb-footer-logo { height: 28px; width: auto; opacity: .55; }
.emb-footer-legal { text-align: right; }
.emb-footer-legal p {
  font-family: var(--font); font-size: .725rem;
  color: var(--text-muted); line-height: 1.9; margin-bottom: 8px;
}
.emb-footer-legal p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .emb-footer-inner { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .emb-footer-legal { text-align: left; }
}

/* ── FLOATING HELP BUTTON ─────────────────────────── */
#emb-help-btn {
  position: fixed; bottom: 20px; right: 20px; z-index: 400;
  height: 52px; border-radius: 26px;
  background: #25d366; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px; gap: 8px;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: box-shadow var(--dur-base);
  text-decoration: none;
}
#emb-help-btn:hover { box-shadow: 0 6px 24px rgba(37,211,102,.6); }
#emb-help-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.emb-help-label {
  font-family: var(--font-mono); font-size: .52rem; letter-spacing: .12em;
  text-transform: uppercase; color: white; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .4s cubic-bezier(.22,1,.36,1), opacity .3s;
}
#emb-help-btn:hover .emb-help-label { max-width: 80px; opacity: 1; }
@media (max-width: 900px) {
  .emb-help-label { max-width: 80px !important; opacity: 1 !important; }
}
