@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ══ TOKENS ══════════════════════════════════════════ */
.ylh-app {
  --w:    #ffffff;
  --g50:  #f8fafc;
  --g100: #f1f5f9;
  --g200: #e2e8f0;
  --g300: #cbd5e1;
  --g400: #94a3b8;
  --g500: #64748b;
  --g600: #475569;
  --g700: #334155;
  --g800: #1e293b;
  --g900: #0f172a;

  --red:  #ef4444;
  --red2: #dc2626;
  --ora:  #f97316;
  --amb:  #f59e0b;
  --grn:  #22c55e;
  --blu:  #3b82f6;
  --pur:  #a855f7;
  --pnk:  #ec4899;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 18px;
  --r-xl: 24px;

  --sh-xs: 0 1px 3px rgba(0,0,0,.06);
  --sh-sm: 0 2px 8px rgba(0,0,0,.08);
  --sh:    0 4px 16px rgba(0,0,0,.08);
  --sh-md: 0 8px 32px rgba(0,0,0,.1);
  --sh-lg: 0 20px 60px rgba(0,0,0,.12);

  --sidebar: 228px;
  --head: 'Sora', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

/* ══ RESET ═══════════════════════════════════════════ */
.ylh-app *, .ylh-app *::before, .ylh-app *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ylh-app a { text-decoration: none; }

/* ══ SHELL ═══════════════════════════════════════════ */
.ylh-app {
  display: flex;
  font-family: var(--body);
  color: var(--g800);
  background: var(--g50);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* ══ SIDEBAR ═════════════════════════════════════════ */
.ylh-sidebar {
  width: var(--sidebar);
  flex-shrink: 0;
  background: var(--w);
  border-right: 1px solid var(--g200);
  display: flex;
  flex-direction: column;
}
.ylh-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 14px 22px;
}
.ylh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--g100);
}
.ylh-brand-name { font-family: var(--head); font-size: 15px; font-weight: 800; color: var(--g900); }
.ylh-brand-sub  { font-size: 11px; color: var(--g400); margin-top: 1px; }

.ylh-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ylh-nav-label {
  font-size: 10px; font-weight: 700; color: var(--g400);
  letter-spacing: .1em; padding: 0 10px 10px;
}
.ylh-nav-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  border: none; background: transparent;
  font-family: var(--body); font-size: 13.5px; font-weight: 500;
  color: var(--g500); cursor: pointer; width: 100%; text-align: left;
  transition: background .15s, color .15s;
}
.ylh-nav-btn:hover  { background: var(--g50); color: var(--g700); }
.ylh-nav-btn.active { background: #eff6ff; color: #1d4ed8; font-weight: 600; }

.ylh-badge {
  margin-left: auto; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  background: #fee2e2; color: var(--red2);
}
.ylh-sidebar-foot {
  font-size: 11px; color: var(--g400);
  padding-top: 14px; border-top: 1px solid var(--g100);
  padding-left: 4px;
}

/* ══ MAIN ════════════════════════════════════════════ */
.ylh-main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.ylh-topbar { display: none; }

.ylh-tab { display: none; padding: 44px 50px; overflow-y: auto; height: 100%; }
.ylh-tab.active { display: block; }

/* ══ HERO / FORM ════════════════════════════════════ */
.ylh-hero { margin-bottom: 28px; }
.ylh-hero h2 { font-family: var(--head); font-size: 24px; font-weight: 800; color: var(--g900); margin-bottom: 6px; }
.ylh-hero p  { font-size: 14.5px; color: var(--g500); line-height: 1.65; }
.ylh-muted   { color: var(--g400); font-size: 13.5px; }

.ylh-form-card {
  background: var(--w);
  border: 1.5px solid var(--g200);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; gap: 22px;
  max-width: 700px;
}
.ylh-field { display: flex; flex-direction: column; gap: 7px; }
.ylh-field label { font-size: 13px; font-weight: 600; color: var(--g700); }
.ylh-field textarea, .ylh-field select {
  padding: 11px 13px; border: 1.5px solid var(--g200);
  border-radius: var(--r-sm); background: var(--g50);
  color: var(--g800); font-family: var(--body); font-size: 13.5px;
  outline: none; transition: border-color .2s, background .2s;
}
.ylh-field textarea:focus, .ylh-field select:focus {
  border-color: #3b82f6; background: var(--w);
  box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.ylh-field textarea { resize: none; line-height: 1.6; }
.ylh-field select   { cursor: pointer; }
.ylh-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ══ CTA ════════════════════════════════════════════ */
.ylh-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: var(--r-sm); border: none;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff; font-family: var(--head); font-size: 15px; font-weight: 700;
  cursor: pointer; align-self: flex-start;
  box-shadow: 0 4px 20px rgba(37,99,235,.32);
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.ylh-cta:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(37,99,235,.38); }
.ylh-cta:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.ylh-outline-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--g200); background: var(--w);
  font-family: var(--body); font-size: 13px; font-weight: 500;
  color: var(--g600); cursor: pointer; transition: all .15s;
}
.ylh-outline-btn:hover { background: var(--g50); border-color: var(--g300); }
.ylh-outline-btn.danger { border-color: #fee2e2; color: var(--red); }
.ylh-outline-btn.danger:hover { background: #fff1f0; }

/* ══ PROGRESS ═══════════════════════════════════════ */
.ylh-progress-card {
  background: var(--w); border: 1.5px solid var(--g200); border-radius: var(--r-lg);
  padding: 48px 40px; text-align: center; box-shadow: var(--sh-sm);
  max-width: 540px; margin: 0 auto;
}
.ylh-progress-icon { font-size: 48px; margin-bottom: 18px; animation: ylhFloat 2s ease-in-out infinite; }
@keyframes ylhFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.ylh-progress-card h3 { font-family: var(--head); font-size: 19px; font-weight: 800; color: var(--g900); margin-bottom: 6px; }

.ylh-prog-bar-wrap { height: 5px; background: var(--g100); border-radius: 99px; margin: 22px 0 18px; overflow: hidden; }
.ylh-prog-bar { height: 100%; background: linear-gradient(90deg, #2563eb, #6366f1); border-radius: 99px; width: 0; transition: width .5s ease; }

.ylh-prog-log { display: flex; flex-direction: column; gap: 7px; text-align: left; max-height: 280px; overflow-y: auto; }
.ylh-prog-line {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--g600); padding: 8px 12px;
  background: var(--g50); border-radius: var(--r-sm); border: 1px solid var(--g100);
  animation: ylhFU .25s ease;
}
.ylh-prog-line.done   { color: var(--g700); }
.ylh-prog-line.active { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
@keyframes ylhFU { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:none} }

/* ══ RESULTS HEADER ══════════════════════════════════ */
.ylh-res-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.ylh-res-header h2 { font-family: var(--head); font-size: 21px; font-weight: 800; color: var(--g900); margin-bottom: 3px; }

.ylh-keywords-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px; padding: 12px 16px;
  background: var(--w); border: 1px solid var(--g200); border-radius: var(--r-sm);
}
.ylh-kw-label { font-size: 11.5px; font-weight: 600; color: var(--g500); }
.ylh-kw-chip {
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
  background: var(--g100); color: var(--g600); border: 1px solid var(--g200);
}

/* ══ FILTERS ═════════════════════════════════════════ */
.ylh-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.ylh-filter {
  padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--g200);
  background: var(--w); font-family: var(--body); font-size: 12.5px; font-weight: 500;
  color: var(--g600); cursor: pointer; transition: all .15s;
  display: flex; align-items: center; gap: 5px;
}
.ylh-filter span {
  font-size: 11px; font-weight: 700; padding: 1px 6px;
  border-radius: 20px; background: var(--g100); color: var(--g500);
  min-width: 20px; text-align: center;
}
.ylh-filter:hover  { background: var(--g50); border-color: var(--g300); }
.ylh-filter.active { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.ylh-filter.active span { background: rgba(255,255,255,.2); color: #fff; }

/* ══ GRID ════════════════════════════════════════════ */
.ylh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px,1fr)); gap: 16px; }

/* ══ CARD ════════════════════════════════════════════ */
.ylh-card {
  background: var(--w); border: 1.5px solid var(--g200);
  border-radius: var(--r-lg); padding: 20px;
  position: relative; overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  opacity: 0; animation: ylhFU .35s ease forwards;
}
.ylh-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

/* top accent bar */
.ylh-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.ylh-card.hot::before        { background: linear-gradient(90deg,#ef4444,#f97316); }
.ylh-card.warm::before       { background: linear-gradient(90deg,#f97316,#f59e0b); }
.ylh-card.evaluating::before { background: linear-gradient(90deg,#3b82f6,#60a5fa); }
.ylh-card.hot:hover          { border-color: #fca5a5; }
.ylh-card.warm:hover         { border-color: #fdba74; }
.ylh-card.evaluating:hover   { border-color: #93c5fd; }

/* ── card header ── */
.ylh-card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ylh-ava-wrap { flex-shrink: 0; }
.ylh-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--g200); display: block; }
.ylh-ava-fb {
  width: 44px; height: 44px; border-radius: 50%; background: var(--g100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 17px; font-weight: 800; color: var(--g500);
  border: 2px solid var(--g200);
}
.ylh-card-info { flex: 1; min-width: 0; }
.ylh-card-name   { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--g900); margin-bottom: 2px; white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.ylh-card-handle { font-size: 11.5px; color: var(--g400); margin-bottom: 2px; }
.ylh-ch-link     { font-size: 12px; color: var(--blu); }
.ylh-ch-link:hover { text-decoration: underline; }

.ylh-score-pill {
  font-family: var(--head); font-size: 13px; font-weight: 800;
  padding: 3px 10px; border-radius: 20px; flex-shrink: 0;
}
.ylh-card.hot        .ylh-score-pill { background: #fff1f0; color: var(--red2); }
.ylh-card.warm       .ylh-score-pill { background: #fff7ed; color: #c2410c; }
.ylh-card.evaluating .ylh-score-pill { background: #eff6ff; color: #1d4ed8; }

/* ── tags row ── */
.ylh-card-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.ylh-intent-tag {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px;
  letter-spacing: .03em; text-transform: uppercase;
}
.ylh-card.hot        .ylh-intent-tag { background: #fff1f0; color: var(--red2); }
.ylh-card.warm       .ylh-intent-tag { background: #fff7ed; color: #c2410c; }
.ylh-card.evaluating .ylh-intent-tag { background: #eff6ff; color: #1d4ed8; }

.ylh-star-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  background: #fefce8; color: #a16207; border: 1px solid #fde68a;
}
.ylh-subs-tag {
  font-size: 11px; color: var(--g400); padding: 2px 7px;
  background: var(--g50); border-radius: 5px; border: 1px solid var(--g100);
}

/* ── contact badges ── */
.ylh-contacts { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.ylh-cbadge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 7px;
  transition: filter .15s; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ylh-cbadge:hover { filter: brightness(.93); }
.ylh-cbadge.email { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.ylh-cbadge.wa    { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.ylh-cbadge.ig    { background: #fdf2f8; color: #be185d; border: 1px solid #fbcfe8; }
.ylh-cbadge.li    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── comment ── */
.ylh-comment {
  font-size: 13.5px; color: var(--g600); line-height: 1.65;
  padding: 11px 13px; background: var(--g50); border-radius: var(--r-sm);
  border-left: 3px solid var(--g200); margin-bottom: 9px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.ylh-card.hot        .ylh-comment { border-left-color: #fca5a5; }
.ylh-card.warm       .ylh-comment { border-left-color: #fdba74; }
.ylh-card.evaluating .ylh-comment { border-left-color: #93c5fd; }

/* ── reason ── */
.ylh-reason {
  font-size: 12.5px; color: var(--g500); display: flex; gap: 6px;
  margin-bottom: 10px; line-height: 1.55;
}

/* ── extra links ── */
.ylh-links { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.ylh-link-pill {
  font-size: 11.5px; padding: 3px 9px; border-radius: 5px;
  border: 1px solid var(--g200); background: var(--g50); color: var(--blu);
  max-width: 180px; white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;
}
.ylh-link-pill:hover { background: #eff6ff; }

/* ── social search helpers ── */
.ylh-searches { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }
.ylh-search-link {
  font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
  border: 1px dashed var(--g300); color: var(--g500);
  transition: all .15s;
}
.ylh-search-link:hover { border-color: #2563eb; color: #1d4ed8; background: #eff6ff; }

/* ── video source ── */
.ylh-video-src { font-size: 11.5px; color: var(--g400); margin-bottom: 12px; }
.ylh-video-src a { color: var(--g400); }
.ylh-video-src a:hover { color: var(--blu); text-decoration: underline; }

/* ── card footer ── */
.ylh-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 11px; border-top: 1px solid var(--g100);
}
.ylh-likes { font-size: 12px; color: var(--g400); }

.ylh-add-btn {
  font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 7px;
  border: 1.5px solid var(--g200); background: var(--w); color: var(--g600);
  cursor: pointer; transition: all .15s;
}
.ylh-add-btn:hover:not(:disabled) { background: var(--g50); border-color: var(--g300); }
.ylh-add-btn.added { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; cursor: default; }
.ylh-add-btn:disabled { opacity: .6; cursor: not-allowed; }

.ylh-del-btn {
  font-size: 12px; padding: 5px 10px; border-radius: 7px;
  border: 1.5px solid #fee2e2; background: #fff1f0; color: var(--red);
  cursor: pointer; transition: background .15s;
}
.ylh-del-btn:hover { background: #fee2e2; }

/* ── notes ── */
.ylh-notes { margin-top: 11px; }
.ylh-notes textarea {
  width: 100%; padding: 8px 11px; border: 1.5px solid var(--g200); border-radius: var(--r-sm);
  background: var(--g50); color: var(--g700); font-family: var(--body); font-size: 13px;
  resize: none; min-height: 50px; outline: none; transition: border-color .2s;
}
.ylh-notes textarea:focus { border-color: var(--blu); background: var(--w); }
.ylh-notes-save {
  margin-top: 5px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 7px;
  border: 1.5px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; cursor: pointer;
}
.ylh-notes-save:hover { background: #dbeafe; }

/* ══ CRM ══════════════════════════════════════════════ */
.ylh-tab-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.ylh-tab-top h2 { font-family: var(--head); font-size: 21px; font-weight: 800; color: var(--g900); margin-bottom: 3px; }

.ylh-kanban { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; align-items: start; }
.ylh-col { background: var(--g100); border: 1.5px solid var(--g200); border-radius: var(--r-lg); overflow: hidden; min-height: 240px; transition: border-color .2s, box-shadow .2s; }
.ylh-col.over { border-color: var(--blu); box-shadow: 0 0 0 4px rgba(59,130,246,.1); }

.ylh-col-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--w); border-bottom: 1.5px solid var(--g200); }
.ylh-col-head-l { display: flex; align-items: center; gap: 8px; }
.ylh-col-head strong { font-family: var(--head); font-size: 13px; font-weight: 800; color: var(--g800); }
.ylh-dot { width: 9px; height: 9px; border-radius: 50%; }
.ylh-dot.blue  { background: var(--blu); }
.ylh-dot.amber { background: var(--amb); }
.ylh-dot.green { background: var(--grn); }
.ylh-col-n { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 20px; background: var(--g100); color: var(--g600); }

.ylh-col-body { padding: 9px; display: flex; flex-direction: column; gap: 9px; }
.ylh-drop-hint { padding: 24px 12px; text-align: center; color: var(--g400); font-size: 13px; border: 2px dashed var(--g300); border-radius: var(--r-sm); margin: 3px; }

.ylh-col-body .ylh-card { opacity: 1; animation: none; cursor: grab; }
.ylh-col-body .ylh-card:active { cursor: grabbing; }
.ylh-card.dragging { opacity: .3; transform: scale(.97); }

/* ══ CONVERT GUIDE ════════════════════════════════════ */
.ylh-convert-hero { margin-bottom: 28px; }
.ylh-convert-hero h2 { font-family: var(--head); font-size: 24px; font-weight: 800; color: var(--g900); margin-bottom: 6px; }

.ylh-convert-body { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }

.ylh-guide-sec {
  background: var(--w);
  border: 1.5px solid var(--g200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: box-shadow .2s;
}
.ylh-guide-sec:hover { box-shadow: var(--sh-sm); }

.ylh-guide-head {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 20px;
  background: var(--accent-bg, var(--g50));
  border-bottom: 1px solid var(--g100);
}
.ylh-guide-num {
  font-family: var(--head); font-size: 11px; font-weight: 800;
  color: var(--accent, var(--g500));
  opacity: .7; letter-spacing: .05em; flex-shrink: 0;
}
.ylh-guide-emoji { font-size: 20px; flex-shrink: 0; }
.ylh-guide-head h3 { font-family: var(--head); font-size: 14.5px; font-weight: 800; color: var(--g900); }

.ylh-guide-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.ylh-guide-item {
  font-size: 13.5px; color: var(--g700); line-height: 1.75;
  padding: 9px 13px;
  background: var(--g50); border-radius: var(--r-sm);
  border-left: 3px solid var(--accent, var(--g300));
}
.ylh-guide-item strong { color: var(--g900); }
.ylh-guide-item em     { color: var(--g600); font-style: italic; }
.ylh-guide-item code   { background: var(--g100); padding: 1px 6px; border-radius: 4px; font-size: 12px; color: var(--g700); }

/* pitch templates */
.ylh-template {
  background: #f8f4ff; border: 1px solid #ddd6fe; border-radius: var(--r-sm);
  padding: 12px 15px; font-size: 13px; color: var(--g700); line-height: 1.7;
  margin-top: 4px; font-style: italic;
}

/* ══ SPINNERS ═════════════════════════════════════════ */
.ylh-spin {
  width: 16px; height: 16px;
  border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; animation: ylhSpin .7s linear infinite; flex-shrink: 0;
}
@keyframes ylhSpin { to{transform:rotate(360deg)} }

/* ══ EMPTY ════════════════════════════════════════════ */
.ylh-empty { text-align: center; padding: 70px 20px; color: var(--g400); }
.ylh-empty-ico { font-size: 48px; margin-bottom: 14px; opacity: .6; }
.ylh-empty p { font-size: 14.5px; line-height: 1.8; }

/* ══ RESPONSIVE ═══════════════════════════════════════ */
@media (max-width: 1100px) { .ylh-tab { padding: 32px 28px; } }
@media (max-width: 860px)  { .ylh-kanban { grid-template-columns: 1fr 1fr; } .ylh-tab { padding: 26px 20px; } }
@media (max-width: 700px) {
  .ylh-app       { flex-direction: column; border-radius: var(--r-lg); min-height: auto; }
  .ylh-sidebar   { display: none; }
  .ylh-topbar    { display: flex; flex-direction: column; background: var(--w); border-bottom: 1px solid var(--g200); padding: 14px 16px 0; }
  .ylh-topbar-brand { display: flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 800; font-size: 14px; color: var(--g900); margin-bottom: 10px; }
  .ylh-topbar-tabs  { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 1px; }
  .ylh-topbar-tab   { padding: 8px 14px; border: none; background: transparent; font-size: 13px; font-weight: 500; color: var(--g500); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
  .ylh-topbar-tab.active { color: #1d4ed8; border-bottom-color: #3b82f6; font-weight: 600; }
  .ylh-tab { padding: 18px 14px; }
  .ylh-grid { grid-template-columns: 1fr; }
  .ylh-kanban { grid-template-columns: 1fr; }
  .ylh-form-card { padding: 20px 16px; }
  .ylh-field-row { grid-template-columns: 1fr; }
  .ylh-cta { width: 100%; }
  .ylh-res-header { flex-direction: column; }
  .ylh-convert-body { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════

/* ═══════════════════════════════════════════════════════════════
   v8.0 — RADAR, MULTICANAL, SOURCE BADGES, ACTION HINTS
   ═══════════════════════════════════════════════════════════════ */

/* ── CHANNEL TOGGLES ────────────────────────────────────────── */
.ylh-channels-wrap   { margin-bottom:18px; }
.ylh-channels-label  { font-size:11.5px;font-weight:700;color:var(--g500);text-transform:uppercase;letter-spacing:.07em;margin-bottom:8px; }
.ylh-channels-grid   { display:flex;gap:8px;flex-wrap:wrap; }
.ylh-ch-toggle       { display:flex;align-items:center;gap:7px;padding:8px 14px;border-radius:9px;border:1.5px solid var(--g200);background:var(--g50);cursor:pointer;font-size:13px;font-weight:600;color:var(--g600);transition:all .17s;user-select:none; }
.ylh-ch-toggle input { accent-color:var(--red);width:15px;height:15px; }
.ylh-ch-toggle.active,.ylh-ch-toggle:has(input:checked) { border-color:#2563eb;background:#eff6ff;color:#1e3a8a; }
.ylh-ch-toggle.disabled { opacity:.45;cursor:not-allowed; }
.ylh-ch-toggle small { font-size:10.5px;font-weight:400;color:var(--g400); }
.ylh-ch-ico { font-size:16px; }

/* ── RADAR CARD ─────────────────────────────────────────────── */
.ylh-radar-card {
  background:var(--w);border:1.5px solid var(--g100);border-radius:var(--r-xl);
  padding:36px 32px;display:flex;align-items:center;gap:40px;
  box-shadow:var(--sh);max-width:700px;margin:0 auto;
}
@media(max-width:640px){.ylh-radar-card{flex-direction:column;gap:28px;padding:28px 20px;}}

/* Radar graphic */
.ylh-radar-wrap { flex-shrink:0; }
.ylh-radar {
  position:relative;width:140px;height:140px;
  background:radial-gradient(circle, #0a1628 60%, #0f2040 100%);
  border-radius:50%;overflow:hidden;
  box-shadow:0 0 0 2px #1e3a5f, 0 0 30px rgba(0,200,100,.25);
}
.ylh-radar-ring {
  position:absolute;border-radius:50%;border:1px solid rgba(0,220,120,.25);
  top:50%;left:50%;transform:translate(-50%,-50%);
}
.ylh-radar-ring.r1{width:40%;height:40%;}
.ylh-radar-ring.r2{width:66%;height:66%;}
.ylh-radar-ring.r3{width:92%;height:92%;}

/* Crosshair lines */
.ylh-radar::before,.ylh-radar::after {
  content:'';position:absolute;background:rgba(0,220,120,.15);
}
.ylh-radar::before{width:1px;height:100%;left:50%;top:0;}
.ylh-radar::after {width:100%;height:1px;top:50%;left:0;}

/* Sweep animation */
.ylh-radar-sweep {
  position:absolute;width:50%;height:50%;top:0;left:50%;
  transform-origin:0% 100%;
  background:conic-gradient(from 0deg, transparent 80%, rgba(0,255,120,.55) 100%);
  animation:ylhSweep 2.4s linear infinite;
  border-radius:0 50% 0 0;
}
@keyframes ylhSweep{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

.ylh-radar-center {
  position:absolute;width:10px;height:10px;border-radius:50%;
  background:#00ff80;box-shadow:0 0 8px #00ff80;
  top:50%;left:50%;transform:translate(-50%,-50%);
}

/* Random ping dots */
.ylh-radar-dot {
  position:absolute;width:7px;height:7px;border-radius:50%;
  background:#00ff80;box-shadow:0 0 6px #00ff80;
  animation:ylhPing 2.4s ease-in-out infinite;
}
.ylh-radar-dot.d1{top:28%;left:65%;animation-delay:.3s;}
.ylh-radar-dot.d2{top:62%;left:35%;animation-delay:.9s;}
.ylh-radar-dot.d3{top:42%;left:22%;animation-delay:1.7s;}
@keyframes ylhPing{0%,100%{opacity:0}30%,70%{opacity:1}50%{opacity:.3}}

/* Right side narration */
.ylh-radar-right   { flex:1; }
.ylh-radar-phase   { font-family:var(--head);font-size:17px;font-weight:800;color:var(--g900);margin-bottom:6px; }
.ylh-radar-subtitle{ font-size:13px;color:var(--g500);margin-bottom:14px;line-height:1.6; }

/* ── SOURCE TABS ────────────────────────────────────────────── */
.ylh-source-tabs { display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;padding:0 0 2px; }
.ylh-stab {
  font-size:13px;font-weight:600;padding:7px 14px;border-radius:9px;
  border:1.5px solid var(--g200);background:var(--g50);color:var(--g600);
  cursor:pointer;transition:all .17s;
}
.ylh-stab:hover  { border-color:var(--g300);color:var(--g800); }
.ylh-stab.active { border-color:#2563eb;background:#eff6ff;color:#1d4ed8; }
.ylh-stab span   { font-size:12px;opacity:.7;margin-left:4px; }

/* ── SOURCE BADGES on cards ─────────────────────────────────── */
.ylh-src-badge {
  font-size:10.5px;font-weight:700;padding:2px 8px;border-radius:6px;letter-spacing:.03em;
}
.ylh-src-badge.src-yt      { background:#fee2e2;color:#b91c1c; }
.ylh-src-badge.src-social  { background:#dbeafe;color:#1d4ed8; }
.ylh-src-badge.src-freelas { background:#dcfce7;color:#15803d; }

/* Card accent by source */
.ylh-card.src-social  { border-top-color:#3b82f6 !important; }
.ylh-card.src-freelas { border-top-color:#22c55e !important; }

/* ── SOCIAL LINK ────────────────────────────────────────────── */
.ylh-social-link {
  display:inline-flex;align-items:center;gap:6px;
  font-size:12.5px;font-weight:700;padding:7px 14px;border-radius:8px;
  background:linear-gradient(135deg,#eff6ff,#e0f2fe);
  color:#1d4ed8;border:1.5px solid #bfdbfe;
  text-decoration:none;margin-bottom:10px;transition:all .15s;
}
.ylh-social-link:hover { background:#dbeafe; }

/* ── ACTION HINT BOX ────────────────────────────────────────── */
.ylh-action-hint {
  display:flex;align-items:flex-start;gap:9px;
  background:linear-gradient(135deg,#fffbeb,#fef3c7);
  border:1.5px solid #fde68a;border-radius:9px;
  padding:10px 13px;margin-top:10px;margin-bottom:6px;
}
.ylh-hint-ico { font-size:16px;flex-shrink:0;margin-top:1px; }
.ylh-action-hint span:last-child { font-size:12.5px;color:#92400e;line-height:1.6;font-weight:500; }

/* ── PROG LOG update ────────────────────────────────────────── */
.ylh-prog-line strong { color:var(--g900); }

/* ── KANBAN 4 cols ──────────────────────────────────────────── */
.ylh-kanban { grid-template-columns:repeat(4,1fr); }
.ylh-dot.red { background:var(--red); }
@media(max-width:1100px){.ylh-kanban{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px) {.ylh-kanban{grid-template-columns:1fr;}}

/* ── MODAL / UPGRADE (kept from v7) ────────────────────────── */
.ylh-modal-overlay{position:fixed;inset:0;z-index:99999;background:rgba(15,23,42,.65);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px;}
.ylh-modal{background:var(--w);border-radius:var(--r-xl);padding:40px 36px;max-width:440px;width:100%;box-shadow:var(--sh-lg);text-align:center;animation:ylhFU .3s ease;}
.ylh-modal-logo{margin-bottom:18px;}
.ylh-modal h2{font-family:var(--head);font-size:22px;font-weight:800;color:var(--g900);margin-bottom:10px;}
.ylh-modal p{font-size:14px;color:var(--g500);line-height:1.7;margin-bottom:22px;}
.ylh-modal-form{display:flex;flex-direction:column;gap:14px;text-align:left;}
.ylh-field-error{font-size:12.5px;color:var(--red);background:#fff1f0;padding:8px 12px;border-radius:7px;border:1px solid #fecaca;}
.ylh-cta-full{width:100%;justify-content:center;}
.ylh-modal-fine{font-size:11.5px;color:var(--g400);text-align:center;margin-top:4px;}
.ylh-modal-upgrade{max-width:420px;}
.ylh-upgrade-spark{font-size:38px;margin-bottom:12px;}
.ylh-upgrade-price{margin:20px 0;display:flex;flex-direction:column;align-items:center;gap:4px;}
.ylh-price-big{font-family:var(--head);font-size:36px;font-weight:800;background:linear-gradient(135deg,var(--red),var(--ora));-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.ylh-price-note{font-size:12px;color:var(--g400);}
.ylh-upgrade-ul{list-style:none;text-align:left;display:flex;flex-direction:column;gap:8px;margin-bottom:22px;padding:14px 16px;background:var(--g50);border-radius:var(--r-sm);}
.ylh-upgrade-ul li{font-size:13.5px;color:var(--g700);}
.ylh-modal-skip{display:block;width:100%;margin-top:12px;background:none;border:none;font-size:12px;color:var(--g400);cursor:pointer;text-decoration:underline;}
.ylh-modal-skip:hover{color:var(--g600);}

/* ── USAGE WIDGET ────────────────────────────────────────────── */
.ylh-usage{background:var(--g50);border:1px solid var(--g200);border-radius:var(--r-sm);padding:12px 14px;margin-bottom:18px;}
.ylh-usage-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}
.ylh-usage-lbl{font-size:11.5px;font-weight:600;color:var(--g600);}
.ylh-plano-tag{font-size:11px;font-weight:700;padding:2px 8px;border-radius:20px;}
.ylh-plano-tag.free{background:var(--g100);color:var(--g500);}
.ylh-plano-tag.pro{background:#dcfce7;color:#15803d;}
.ylh-usage-track{height:5px;background:var(--g200);border-radius:99px;overflow:hidden;margin-bottom:6px;}
.ylh-usage-fill{height:100%;border-radius:99px;background:var(--grn);transition:width .4s ease,background .3s;}
.ylh-usage-nums{font-size:11.5px;color:var(--g500);text-align:right;margin-bottom:8px;}
.ylh-go-pro{display:block;text-align:center;font-size:12px;font-weight:700;padding:7px;border-radius:7px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;text-decoration:none;transition:opacity .15s;}
.ylh-go-pro:hover{opacity:.88;}

/* ── FOLLOW-UP ───────────────────────────────────────────────── */
.ylh-fu-badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:6px;}
.ylh-fu-badge.overdue{background:#fee2e2;color:#b91c1c;}
.ylh-fu-badge.today{background:#fef3c7;color:#b45309;animation:ylhPulse 1.5s ease-in-out infinite;}
.ylh-fu-badge.upcoming{background:#dbeafe;color:#1d4ed8;}
@keyframes ylhPulse{0%,100%{opacity:1}50%{opacity:.6}}
.ylh-fu-alert{font-size:13px;margin-left:auto;}

/* ── CONTACTS / SEARCH LINKS ────────────────────────────────── */
.ylh-contacts{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px;}
.ylh-cbadge{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:7px;transition:filter .15s;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ylh-cbadge:hover{filter:brightness(.93);}
.ylh-cbadge.email{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;}
.ylh-cbadge.wa{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0;}
.ylh-cbadge.ig{background:#fdf2f8;color:#be185d;border:1px solid #fbcfe8;}
.ylh-cbadge.li{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe;}
.ylh-searches{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:9px;}
.ylh-search-link{font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:6px;border:1px dashed var(--g300);color:var(--g500);transition:all .15s;}
.ylh-search-link:hover{border-color:#2563eb;color:#1d4ed8;background:#eff6ff;}

/* ── DRAWER ──────────────────────────────────────────────────── */
.ylh-drawer-overlay{position:fixed;inset:0;z-index:9998;background:rgba(15,23,42,.4);opacity:0;pointer-events:none;transition:opacity .25s;}
.ylh-drawer-overlay.active{opacity:1;pointer-events:auto;}
.ylh-drawer{position:fixed;top:0;right:0;height:100%;width:420px;max-width:100%;background:var(--w);border-left:1.5px solid var(--g200);box-shadow:-8px 0 40px rgba(0,0,0,.12);z-index:9999;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .3s cubic-bezier(.16,1,.3,1);overflow:hidden;}
.ylh-drawer.open{transform:translateX(0);}
.ylh-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1.5px solid var(--g100);flex-shrink:0;}
.ylh-drawer-head h3{font-family:var(--head);font-size:16px;font-weight:800;color:var(--g900);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;}
.ylh-drawer-close{background:none;border:none;font-size:18px;color:var(--g400);cursor:pointer;padding:4px;border-radius:6px;flex-shrink:0;transition:color .15s;}
.ylh-drawer-close:hover{color:var(--g700);}
.ylh-drawer-body{flex:1;overflow-y:auto;padding:20px 22px;display:flex;flex-direction:column;gap:20px;}
.ylh-drawer-section{display:flex;flex-direction:column;gap:10px;}
.ylh-drawer-sec-title{font-family:var(--head);font-size:12.5px;font-weight:700;color:var(--g600);text-transform:uppercase;letter-spacing:.07em;}
.ylh-drawer-notes{width:100%;padding:10px 12px;border:1.5px solid var(--g200);border-radius:var(--r-sm);background:var(--g50);color:var(--g700);font-family:var(--body);font-size:13.5px;resize:none;min-height:90px;outline:none;transition:border-color .2s;line-height:1.65;}
.ylh-drawer-notes:focus{border-color:var(--blu);background:var(--w);}
.ylh-drawer-save{align-self:flex-start;font-size:12.5px;font-weight:600;padding:7px 16px;border-radius:7px;border:1.5px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;cursor:pointer;}
.ylh-drawer-save:hover{background:#dbeafe;}
.ylh-fu-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.ylh-fu-row input[type=date]{padding:7px 11px;border:1.5px solid var(--g200);border-radius:var(--r-sm);background:var(--g50);color:var(--g800);font-family:var(--body);font-size:13px;outline:none;transition:border-color .2s;}
.ylh-fu-row input[type=date]:focus{border-color:var(--blu);}
.ylh-fu-clear{font-size:12px;padding:5px 10px;border-radius:7px;border:1.5px solid #fee2e2;background:#fff1f0;color:var(--red);cursor:pointer;}
.ylh-cl-list{display:flex;flex-direction:column;gap:6px;}
.ylh-cl-item{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:7px;background:var(--g50);cursor:pointer;}
.ylh-cl-item input[type=checkbox]{accent-color:var(--grn);width:15px;height:15px;flex-shrink:0;}
.ylh-cl-item span{font-size:13px;color:var(--g700);line-height:1.5;}
.ylh-cl-item span.done{text-decoration:line-through;color:var(--g400);}
.ylh-cl-add{display:flex;gap:6px;margin-top:4px;}
.ylh-cl-add input{flex:1;padding:7px 11px;border:1.5px solid var(--g200);border-radius:var(--r-sm);background:var(--g50);color:var(--g800);font-family:var(--body);font-size:13px;outline:none;}
.ylh-cl-add input:focus{border-color:var(--blu);}
.ylh-cl-add button{padding:7px 14px;border-radius:var(--r-sm);border:none;background:var(--g900);color:#fff;font-size:16px;font-weight:700;cursor:pointer;}
.ylh-act-list{display:flex;flex-direction:column;gap:7px;max-height:220px;overflow-y:auto;}
.ylh-act-item{display:flex;align-items:flex-start;gap:10px;padding:8px 11px;background:var(--g50);border-radius:var(--r-sm);}
.ylh-act-ico{font-size:15px;flex-shrink:0;margin-top:1px;}
.ylh-act-desc{font-size:13px;color:var(--g700);}
.ylh-act-date{font-size:11px;color:var(--g400);margin-top:2px;}
.ylh-act-empty{font-size:13px;color:var(--g400);text-align:center;padding:14px 0;}
.ylh-act-add{display:flex;gap:6px;margin-top:4px;}
.ylh-act-add input{flex:1;padding:7px 11px;border:1.5px solid var(--g200);border-radius:var(--r-sm);background:var(--g50);color:var(--g800);font-family:var(--body);font-size:13px;outline:none;}
.ylh-act-add input:focus{border-color:var(--blu);}
.ylh-act-add button{padding:7px 14px;border-radius:var(--r-sm);border:none;background:var(--g900);color:#fff;font-size:16px;cursor:pointer;}
.ylh-detail-btn{font-size:12px;font-weight:600;padding:5px 12px;border-radius:7px;border:1.5px solid #dbeafe;background:#eff6ff;color:#1d4ed8;cursor:pointer;transition:background .15s;}
.ylh-detail-btn:hover{background:#dbeafe;}

/* ── LOG ERROR HIGHLIGHT (v8.1) ─────────────────────────────── */
.ylh-log-err {
  color: #dc2626;
  background: #fff1f0;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 11.5px;
  word-break: break-all;
}
.ylh-prog-line.done .ylh-log-err { display: inline-block; margin-top: 2px; }

/* ══ EXTRATOR DO MAPA (v9.0) ═══════════════════════════════════ */
.ylh-maps-counter-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:3px;}
.ylh-maps-counter-lbl{font-size:11px;color:var(--g400);font-weight:500;}
#ylh-maps-count-display{font-size:15px;font-weight:700;color:var(--g700);}
.ylh-maps-form{background:var(--w);border:1.5px solid var(--g200);border-radius:var(--r-lg);padding:28px;margin-bottom:24px;box-shadow:var(--sh-sm);}
.ylh-maps-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px;}
@media(max-width:600px){.ylh-maps-form-row{grid-template-columns:1fr;}}
.ylh-maps-noapi{margin-top:14px;padding:12px 16px;background:#fef3c7;border:1.5px solid #fde68a;border-radius:var(--r-sm);color:#92400e;font-size:13px;}
.ylh-maps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px;}
.ylh-maps-card{background:var(--w);border:1.5px solid var(--g200);border-radius:var(--r-lg);padding:18px 20px;box-shadow:var(--sh-sm);transition:box-shadow .2s,border-color .2s;animation:cardIn .35s ease both;}
.ylh-maps-card:hover{box-shadow:var(--sh-md);border-color:var(--g300);}
.ylh-maps-card-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:12px;}
.ylh-maps-ava{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#10b981,#059669);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--head);font-weight:800;font-size:18px;flex-shrink:0;}
.ylh-maps-info{flex:1;min-width:0;}
.ylh-maps-name{font-family:var(--head);font-weight:700;font-size:15px;color:var(--g900);line-height:1.3;margin-bottom:3px;}
.ylh-maps-addr{font-size:12px;color:var(--g500);line-height:1.4;margin-bottom:5px;}
.ylh-maps-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
.ylh-maps-rating{font-size:12px;font-weight:600;color:var(--g700);}
.ylh-maps-open{font-size:11px;font-weight:700;background:#dcfce7;color:#15803d;padding:2px 8px;border-radius:20px;}
.ylh-maps-status{font-size:11px;color:var(--g400);}
.ylh-maps-contacts{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px;}
.ylh-cbadge.phone{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0;}
.ylh-cbadge.site{background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe;}
.ylh-cbadge.fb{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;}
.ylh-maps-footer{padding-top:10px;border-top:1px solid var(--g100);display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.ylh-maps-gmaps-btn{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:var(--blu);background:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;padding:5px 12px;transition:background .15s;text-decoration:none;}
.ylh-maps-gmaps-btn:hover{background:#dbeafe;}
.ylh-maps-crm-btn{font-size:12px!important;padding:5px 11px!important;margin-left:auto;}
.ylh-li-crm-btn{font-size:12px!important;padding:6px 11px!important;}
/* User welcome box in sidebar */
.ylh-user-welcome{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:1.5px solid #bbf7d0;border-radius:var(--r-sm);padding:10px 12px;margin-bottom:12px;}
.ylh-user-ico{font-size:20px;}
.ylh-user-name{font-size:13px;font-weight:700;color:var(--g900);line-height:1.3;}
.ylh-user-plan{font-size:11px;color:#15803d;font-weight:600;}

/* ══ CONCORRENTES LOCAIS (v9.0) ════════════════════════════════ */
.ylh-comp-explain{display:flex;gap:16px;align-items:flex-start;background:#eff6ff;border:1.5px solid #bfdbfe;border-radius:var(--r-lg);padding:18px 22px;margin-bottom:22px;}
.ylh-comp-explain-icon{font-size:28px;flex-shrink:0;}
.ylh-comp-explain p{font-size:14px;color:var(--g600);margin-top:4px;line-height:1.6;}
.ylh-comp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;}
.ylh-comp-card{background:var(--w);border:1.5px solid var(--g200);border-radius:var(--r-lg);padding:18px 20px;box-shadow:var(--sh-sm);animation:cardIn .35s ease both;}
.ylh-comp-card-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px;}
.ylh-comp-ava{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--head);font-weight:800;font-size:17px;flex-shrink:0;}
.ylh-comp-info{flex:1;min-width:0;}
.ylh-comp-name{font-family:var(--head);font-weight:700;font-size:15px;color:var(--g900);margin-bottom:3px;}
.ylh-comp-plat{font-size:12px;color:var(--g500);}
.ylh-comp-score{font-family:var(--head);font-weight:800;font-size:24px;line-height:1;flex-shrink:0;}
.ylh-comp-score span{font-size:13px;color:var(--g400);font-weight:500;}
.ylh-comp-pos,.ylh-comp-dif{font-size:13px;color:var(--g700);margin-bottom:8px;line-height:1.5;}
.ylh-comp-inv{font-size:12px;font-weight:700;padding:5px 12px;border-radius:20px;display:inline-block;margin-bottom:10px;}
.ylh-comp-opp{font-size:13px;color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:var(--r-sm);padding:9px 12px;margin-bottom:10px;line-height:1.5;}
.ylh-comp-foot{display:flex;flex-wrap:wrap;gap:7px;padding-top:10px;border-top:1px solid var(--g100);}

/* ══ AJUDA & FEEDBACK (v9.0) ═══════════════════════════════════ */
.ylh-help-hero{margin-bottom:28px;}
.ylh-help-hero h2{font-size:24px;font-family:var(--head);font-weight:800;margin-bottom:6px;}
.ylh-help-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px;}
.ylh-help-card{background:var(--w);border:1.5px solid var(--g200);border-radius:var(--r-lg);padding:22px 24px;box-shadow:var(--sh-sm);}
.ylh-help-card-wide{grid-column:1/-1;}
.ylh-help-card-icon{font-size:28px;margin-bottom:12px;}
.ylh-help-card h3{font-family:var(--head);font-weight:700;font-size:16px;color:var(--g900);margin-bottom:12px;}
.ylh-help-card ul{list-style:none;display:flex;flex-direction:column;gap:8px;}
.ylh-help-card ul li{font-size:13px;color:var(--g600);padding-left:16px;position:relative;line-height:1.5;}
.ylh-help-card ul li::before{content:"•";position:absolute;left:0;color:var(--blu);}
.ylh-help-card ul li a{color:var(--blu);text-decoration:underline;}
.ylh-help-feedback-row{display:flex;gap:10px;flex-wrap:wrap;}
.ylh-help-input{flex:1;min-width:200px;padding:10px 14px;border:1.5px solid var(--g200);border-radius:var(--r-sm);font-family:var(--body);font-size:14px;color:var(--g800);background:var(--g50);outline:none;}
.ylh-help-input:focus{border-color:var(--blu);}

/* ══ GANHE DINHEIRO (v9.0) ══════════════════════════════════════ */
.ylh-aff-hero{text-align:center;padding:36px 24px 28px;background:linear-gradient(135deg,#fef9c3,#fef3c7);border:2px solid #fde68a;border-radius:var(--r-xl);margin-bottom:32px;}
.ylh-aff-badge{font-size:52px;margin-bottom:12px;}
.ylh-aff-hero h2{font-family:var(--head);font-size:26px;font-weight:800;color:var(--g900);margin-bottom:10px;}
.ylh-aff-hero p{font-size:15px;color:var(--g600);max-width:540px;margin:0 auto;}
.ylh-aff-hero strong{color:#92400e;}
.ylh-aff-steps{display:flex;flex-direction:column;gap:18px;margin-bottom:32px;}
.ylh-aff-step{display:flex;gap:18px;align-items:flex-start;background:var(--w);border:1.5px solid var(--g200);border-radius:var(--r-lg);padding:20px 24px;box-shadow:var(--sh-sm);}
.ylh-aff-step-num{width:44px;height:44px;border-radius:50%;background:var(--g900);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--head);font-weight:800;font-size:15px;flex-shrink:0;}
.ylh-aff-step h3{font-family:var(--head);font-weight:700;font-size:16px;color:var(--g900);margin-bottom:6px;}
.ylh-aff-step p{font-size:13px;color:var(--g600);line-height:1.6;}
.ylh-aff-cta-box{background:linear-gradient(135deg,#1e293b,#334155);border-radius:var(--r-xl);padding:32px 28px;text-align:center;}
.ylh-aff-cta-inner{display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between;margin-bottom:16px;}
.ylh-aff-cta-text{text-align:left;}
.ylh-aff-cta-text h3{font-family:var(--head);font-size:20px;font-weight:800;color:#fff;margin-bottom:6px;}
.ylh-aff-cta-text p{font-size:14px;color:#94a3b8;max-width:400px;}
.ylh-aff-cta-btn{background:linear-gradient(135deg,#22c55e,#16a34a);border:none;font-size:16px;padding:14px 28px;white-space:nowrap;}
.ylh-aff-phone{font-size:20px;font-weight:700;color:#fff;letter-spacing:1px;}
@media(max-width:600px){.ylh-aff-cta-inner{flex-direction:column;align-items:flex-start;}}

/* Nav button money highlight */
.ylh-nav-btn-money{border:1.5px solid #fde68a!important;background:#fefce8!important;color:#78350f!important;}
.ylh-nav-btn-money:hover,.ylh-nav-btn-money.active{background:#fef3c7!important;color:#92400e!important;}

/* Hero greeting */
.ylh-hero-greeting{font-size:15px;color:var(--g600);margin-bottom:10px;padding:10px 16px;background:#f0fdf4;border-radius:var(--r-sm);border:1px solid #bbf7d0;display:inline-block;}

/* ══ MODAL TABS + LOGIN (v9.0) ══════════════════════════════════ */
.ylh-modal-tabs{display:flex;gap:0;margin-bottom:20px;border-radius:var(--r-sm);overflow:hidden;border:1.5px solid var(--g200);}
.ylh-modal-tab{flex:1;padding:10px 0;border:none;background:var(--g50);color:var(--g600);font-family:var(--body);font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,color .15s;}
.ylh-modal-tab.active{background:#1d4ed8;color:#fff;}
.ylh-modal-tab:first-child{border-right:1.5px solid var(--g200);}
.ylh-upgrade-divider{text-align:center;color:var(--g400);font-size:12px;margin:10px 0;position:relative;}
.ylh-upgrade-divider::before,.ylh-upgrade-divider::after{content:'';position:absolute;top:50%;width:42%;height:1px;background:var(--g200);}
.ylh-upgrade-divider::before{left:0;} .ylh-upgrade-divider::after{right:0;}

/* Login/logout button in sidebar */
.ylh-sidebar-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
.ylh-login-btn{font-size:12px;font-weight:700;color:var(--blu);background:#eff6ff;border:1.5px solid #bfdbfe;border-radius:7px;padding:5px 12px;cursor:pointer;text-decoration:none;transition:background .15s;}
.ylh-login-btn:hover{background:#dbeafe;}
.ylh-logout-btn{color:var(--g500);background:var(--g100);border-color:var(--g200);}

/* ══ EMPRESAS RECÉM ABERTAS (v9.0) ═════════════════════════════ */
.ylh-nova-ava{background:linear-gradient(135deg,#f59e0b,#d97706)!important;}
.ylh-nova-cnae{font-size:12px;color:var(--g500);margin-bottom:6px;line-height:1.4;}
.ylh-nova-socios{font-size:13px;color:var(--g700);margin-bottom:8px;line-height:1.5;}
.ylh-nova-date{font-size:11px;font-weight:700;background:#fef3c7;color:#92400e;padding:2px 8px;border-radius:20px;}
.ylh-nova-cnpj{font-size:11px;color:var(--g400);font-family:monospace;}
.ylh-nav-btn-new{border:1.5px solid #a7f3d0!important;background:#ecfdf5!important;color:#065f46!important;}
.ylh-nav-btn-new:hover,.ylh-nav-btn-new.active{background:#d1fae5!important;color:#064e3b!important;}

/* ══ PROSPECÇÃO LINKEDIN ════════════════════════════════════════ */
.ylh-nav-btn-linkedin{border:1.5px solid #bfdbfe!important;background:#eff6ff!important;color:#1e40af!important;}
.ylh-nav-btn-linkedin:hover,.ylh-nav-btn-linkedin.active{background:#dbeafe!important;color:#1e3a8a!important;}

.ylh-linkedin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-top:4px;}

.ylh-li-card{background:#fff;border:1.5px solid var(--g200);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:10px;
  animation:ylhFadeUp .35s ease both;transition:box-shadow .2s,border-color .2s;}
.ylh-li-card:hover{box-shadow:0 4px 18px rgba(37,99,235,.10);border-color:#bfdbfe;}

.ylh-li-head{display:flex;align-items:flex-start;gap:12px;}
.ylh-li-avatar{width:42px;height:42px;min-width:42px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#7c3aed);
  color:#fff;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;letter-spacing:.5px;}
.ylh-li-info{flex:1;min-width:0;}
.ylh-li-nome{font-size:14px;font-weight:700;color:var(--g900);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ylh-li-cargo{font-size:12px;color:var(--g600);margin-top:3px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ylh-li-empresa{font-size:12px;color:var(--g500);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ylh-li-cidade{font-size:11px;color:var(--g400);margin-top:2px;}

.ylh-li-snippet{font-size:12px;color:var(--g500);line-height:1.5;border-top:1px solid var(--g100);padding-top:8px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}

.ylh-li-footer{display:flex;gap:8px;margin-top:auto;flex-wrap:wrap;}
.ylh-li-btn-linkedin{flex:1;min-width:120px;padding:7px 12px;border-radius:8px;background:#2563eb;color:#fff;font-size:12px;font-weight:700;
  text-align:center;text-decoration:none;border:none;cursor:pointer;transition:background .15s;}
.ylh-li-btn-linkedin:hover{background:#1d4ed8;}
.ylh-li-btn-copy{padding:7px 12px;border-radius:8px;background:var(--g100);color:var(--g700);font-size:12px;font-weight:600;
  border:1.5px solid var(--g200);cursor:pointer;transition:background .15s;white-space:nowrap;}
.ylh-li-btn-copy:hover{background:var(--g200);}

@media(max-width:600px){.ylh-linkedin-grid{grid-template-columns:1fr;}}

/* ══════════════════════════════════════════════════════════════
   LEAD RADAR v15 — NOVOS ESTILOS
   Mobile bottom nav · YouTube offline banner · Serper tokens
   ══════════════════════════════════════════════════════════════ */

/* ── SERPER TOKEN DISPLAY (sidebar) ────────────────────────── */
.ylh-serper-tokens {
  font-size: 11px; color: var(--g400);
  margin-top: 8px; padding-top: 8px;
  border-top: 1px solid var(--g100);
}
.ylh-serper-tokens strong {
  color: #2563eb; font-weight: 700;
}

/* ── YOUTUBE OFFLINE BANNER ─────────────────────────────────── */
.ylh-yt-offline-banner {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff7ed; border: 1.5px solid #fed7aa;
  border-radius: var(--r-lg); padding: 16px 20px;
  margin-bottom: 22px; animation: cardIn .4s ease both;
}
.ylh-yt-offline-ico { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.ylh-yt-offline-banner strong {
  font-family: var(--head); font-size: 14px; font-weight: 700;
  color: #c2410c; display: block; margin-bottom: 4px;
}
.ylh-yt-offline-banner p {
  font-size: 12.5px; color: #78350f; line-height: 1.55; margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE WEBAPP — bottom nav + responsive overhaul
   ══════════════════════════════════════════════════════════════ */

/* ── Hide bottom nav on desktop ─────────────────────────────── */
.ylh-mob-nav,
.ylh-mob-more-overlay,
.ylh-mob-more-sheet { display: none; }

@media (max-width: 768px) {

  /* ── Shell adjustments ──────────────────────────────────── */
  .ylh-app {
    flex-direction: column;
    border-radius: 0;
    min-height: 100svh;
    border: none;
    box-shadow: none;
  }

  /* ── Hide desktop sidebar entirely on mobile ──────────── */
  .ylh-sidebar { display: none !important; }

  /* ── Topbar: show brand only, hide tabs ─────────────────── */
  .ylh-topbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 10px;
    background: var(--w);
    border-bottom: 1px solid var(--g200);
    position: sticky; top: 0; z-index: 100;
    flex-shrink: 0;
  }
  .ylh-topbar-tabs { display: none !important; }

  /* ── Main area fills remaining space above bottom nav ──── */
  .ylh-main { flex: 1; overflow: hidden; display: flex; flex-direction: column; }

  /* ── Tabs: full height scroll, padding bottom for nav ──── */
  .ylh-tab {
    padding: 20px 16px 90px !important;
    height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }

  /* ── Form cards: full width on mobile ───────────────────── */
  .ylh-form-card { padding: 20px 16px; max-width: 100%; }

  /* ── Grids: single column ────────────────────────────────── */
  .ylh-maps-grid,
  .ylh-comp-grid,
  .ylh-linkedin-grid,
  .ylh-help-grid { grid-template-columns: 1fr !important; }

  /* ── KRM Kanban: horizontal scroll ──────────────────────── */
  .ylh-kanban {
    display: flex; overflow-x: auto; gap: 12px;
    padding-bottom: 8px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .ylh-kanban-col {
    min-width: 270px; flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* ─────────────────────────────────────────────────────────
     BOTTOM NAV — webapp style
  ───────────────────────────────────────────────────────── */
  .ylh-mob-nav {
    display: flex !important;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px) saturate(1.6);
    -webkit-backdrop-filter: blur(12px) saturate(1.6);
    border-top: 1px solid var(--g200);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
    gap: 0;
  }

  .ylh-mob-tab {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px; padding: 6px 2px;
    border: none; background: transparent;
    color: var(--g400); font-family: var(--body);
    font-size: 10px; font-weight: 500;
    cursor: pointer; border-radius: var(--r-sm);
    transition: color .15s, background .15s;
    min-width: 0; position: relative;
  }
  .ylh-mob-tab svg { transition: transform .2s; }
  .ylh-mob-tab:active svg { transform: scale(.88); }
  .ylh-mob-tab.active {
    color: #3b82f6;
  }
  .ylh-mob-tab.active svg { stroke: #ef4444; fill: #ef4444; }
  .ylh-mob-tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52px; }

  /* Active indicator dot */
  .ylh-mob-tab.active::after {
    content: '';
    position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; border-radius: 50%;
    background: #ef4444;
  }

  /* ── More menu overlay ──────────────────────────────────── */
  .ylh-mob-more-overlay {
    display: block !important;
    position: fixed; inset: 0; z-index: 9001;
    background: rgba(15,23,42,.45);
    backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
  }
  .ylh-mob-more-overlay.active { opacity: 1; pointer-events: auto; }

  /* ── More bottom sheet ──────────────────────────────────── */
  .ylh-mob-more-sheet {
    display: flex !important;
    flex-direction: column;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9002;
    background: var(--w);
    border-radius: 20px 20px 0 0;
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 40px rgba(0,0,0,.14);
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.16,1,.3,1);
  }
  .ylh-mob-more-sheet.open { transform: translateY(0); }

  .ylh-mob-more-handle {
    width: 36px; height: 4px; border-radius: 2px;
    background: var(--g300); margin: 0 auto 20px;
  }

  .ylh-mob-more-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ylh-mob-more-item {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; padding: 18px 12px;
    background: var(--g50); border: 1.5px solid var(--g200);
    border-radius: var(--r-lg);
    font-family: var(--body); font-size: 13px; font-weight: 600;
    color: var(--g700); cursor: pointer;
    transition: background .15s, border-color .15s, transform .1s;
  }
  .ylh-mob-more-item:active { transform: scale(.96); }
  .ylh-mob-more-item:hover { background: var(--g100); border-color: var(--g300); }
  .ylh-mob-more-ico { font-size: 26px; line-height: 1; }

  /* ── Hero title sizing ──────────────────────────────────── */
  .ylh-hero h2 { font-size: 20px !important; }

  /* ── Lead cards: tighter on mobile ─────────────────────── */
  .ylh-card { padding: 14px 14px !important; }
  .ylh-card-body { padding: 14px 14px !important; }

  /* ── Drawer: full width on mobile ───────────────────────── */
  .ylh-drawer { width: 100% !important; }

  /* ── Result stats: wrap ──────────────────────────────────── */
  .ylh-stabs { overflow-x: auto; flex-wrap: nowrap !important; }

  /* ── Maps form: single column ────────────────────────────── */
  .ylh-maps-form-row { grid-template-columns: 1fr !important; }

  /* ── Affiliate CTA ───────────────────────────────────────── */
  .ylh-aff-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Very small screens ─────────────────────────────────────── */
@media (max-width: 380px) {
  .ylh-mob-tab span { display: none; }
  .ylh-mob-tab { padding: 10px 2px; }
}

/* ══ INSTAGRAM / FOLLOWERS ═══════════════════════════════════════ */
.ylh-nav-btn-instagram { background: linear-gradient(135deg, #f9e4f0, #fce7f3) !important; color: #be185d !important; border: 1px solid #fbcfe8 !important; }
.ylh-nav-btn-instagram:hover, .ylh-nav-btn-instagram.active { background: linear-gradient(135deg, #be185d, #ec4899) !important; color: #fff !important; border-color: transparent !important; }
.ylh-nav-btn-followers { background: linear-gradient(135deg, #e0f2fe, #f0f9ff) !important; color: #0369a1 !important; border: 1px solid #bae6fd !important; }
.ylh-nav-btn-followers:hover, .ylh-nav-btn-followers.active { background: linear-gradient(135deg, #0369a1, #0ea5e9) !important; color: #fff !important; border-color: transparent !important; }

/* Tips box */
.ylh-ig-tips { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.ylh-ig-tip { background: #fef3c7; border: 1px solid #fde68a; border-radius: 10px; padding: 10px 14px; font-size: 13px; color: #78350f; }

/* Instagram leads grid */
.ylh-ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ylh-ig-card { background: var(--white); border: 1px solid var(--g200); border-radius: 14px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: box-shadow .2s; }
.ylh-ig-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.ylh-ig-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.ylh-ig-handle { font-size: 15px; font-weight: 700; color: #be185d; }
.ylh-ig-score { font-size: 20px; font-weight: 800; padding: 6px 10px; border-radius: 10px; min-width: 44px; text-align: center; }
.ylh-ig-comment { background: var(--g50); border-left: 3px solid #f9a8d4; padding: 8px 12px; border-radius: 0 8px 8px 0; font-size: 13px; color: var(--g600); font-style: italic; margin-bottom: 8px; }
.ylh-ig-reason { font-size: 12px; color: var(--g500); margin-bottom: 10px; }
.ylh-ig-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ylh-ig-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: opacity .2s; }
.ylh-ig-btn:hover { opacity: .85; }
.ylh-ig-btn-ig { background: linear-gradient(135deg, #be185d, #ec4899); color: #fff; }
.ylh-ig-btn-crm { background: var(--g100); color: var(--g700); }
.ylh-ig-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }

/* Followers grid */
.ylh-igf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ylh-igf-card { background: var(--white); border: 1px solid var(--g200); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ylh-igf-top { display: flex; align-items: center; justify-content: space-between; }
.ylh-igf-handle { font-size: 14px; font-weight: 700; color: #0369a1; }
.ylh-igf-name { font-size: 12px; color: var(--g500); }
.ylh-igf-bio { font-size: 12px; color: var(--g600); background: var(--g50); border-radius: 6px; padding: 6px 10px; min-height: 28px; }
.ylh-igf-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.ylh-igf-badge-private { background: #fef2f2; color: #dc2626; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 600; }
.ylh-igf-badge-public { background: #f0fdf4; color: #15803d; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   iPhone HOME SCREEN — tela inicial com ícones de apps
   ══════════════════════════════════════════════════════════════ */

/* ── Sidebar redesign: mais elegante, iOS-inspired ──────────── */
.ylh-sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
  border-right: none !important;
}
.ylh-sidebar-inner { padding: 28px 16px 22px !important; }
.ylh-brand-name { color: #fff !important; }
.ylh-brand-sub  { color: rgba(255,255,255,.45) !important; }
.ylh-brand      { border-bottom-color: rgba(255,255,255,.08) !important; }
.ylh-nav-label  { color: rgba(255,255,255,.35) !important; }
.ylh-nav-btn    { color: rgba(255,255,255,.65) !important; font-size: 13px !important; border-radius: 10px !important; }
.ylh-nav-btn:hover { background: rgba(255,255,255,.07) !important; color: #fff !important; }
.ylh-nav-btn.active { background: rgba(59,130,246,.22) !important; color: #93c5fd !important; font-weight: 700 !important; }
.ylh-usage { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.1) !important; }
.ylh-usage-lbl { color: rgba(255,255,255,.5) !important; }
.ylh-usage-track { background: rgba(255,255,255,.12) !important; }
.ylh-usage-nums { color: rgba(255,255,255,.4) !important; }
.ylh-serper-tokens { color: rgba(255,255,255,.35) !important; border-top-color: rgba(255,255,255,.08) !important; }
.ylh-sidebar-foot { border-top-color: rgba(255,255,255,.08) !important; color: rgba(255,255,255,.3) !important; }
.ylh-user-welcome { background: rgba(34,197,94,.12) !important; border-color: rgba(34,197,94,.25) !important; }
.ylh-user-name { color: #fff !important; }
.ylh-user-plan { color: #4ade80 !important; }

/* Nav button overrides for dark sidebar */
.ylh-nav-btn-instagram { background: rgba(190,24,93,.18) !important; color: #f9a8d4 !important; border: 1px solid rgba(190,24,93,.3) !important; }
.ylh-nav-btn-instagram:hover, .ylh-nav-btn-instagram.active { background: rgba(190,24,93,.38) !important; color: #fff !important; border-color: transparent !important; }
.ylh-nav-btn-followers { background: rgba(3,105,161,.18) !important; color: #7dd3fc !important; border: 1px solid rgba(3,105,161,.3) !important; }
.ylh-nav-btn-followers:hover, .ylh-nav-btn-followers.active { background: rgba(3,105,161,.38) !important; color: #fff !important; border-color: transparent !important; }
.ylh-nav-btn-money { background: rgba(234,179,8,.15) !important; color: #fde047 !important; border: 1px solid rgba(234,179,8,.3) !important; }
.ylh-nav-btn-money:hover, .ylh-nav-btn-money.active { background: rgba(234,179,8,.32) !important; color: #fff !important; }
.ylh-nav-btn-linkedin { background: rgba(37,99,235,.18) !important; color: #93c5fd !important; border: 1px solid rgba(37,99,235,.3) !important; }
.ylh-nav-btn-linkedin:hover, .ylh-nav-btn-linkedin.active { background: rgba(37,99,235,.38) !important; color: #fff !important; border-color: transparent !important; }
.ylh-badge { background: rgba(239,68,68,.3) !important; color: #fca5a5 !important; }
.ylh-login-btn { background: rgba(255,255,255,.08) !important; color: rgba(255,255,255,.6) !important; border-color: rgba(255,255,255,.12) !important; }
.ylh-logout-btn { background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.4) !important; border-color: rgba(255,255,255,.1) !important; }

/* ── HOME SCREEN tab ─────────────────────────────────────────── */
#tab-home {
  background: linear-gradient(160deg, #0f172a 0%, #1a1f35 40%, #0c1824 100%);
  min-height: 100%;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}
#tab-home::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}
#tab-home::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,.1) 0%, transparent 70%);
  bottom: 0; left: -100px;
  pointer-events: none;
}

.ylh-home-inner {
  position: relative;
  z-index: 1;
  padding: 48px 52px 40px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Status bar area */
.ylh-home-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.ylh-home-greeting {
  font-family: var(--head);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .02em;
}
.ylh-home-time {
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
}
.ylh-home-plan-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(34,197,94,.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,.3);
}

/* Hero heading */
.ylh-home-hero {
  margin-bottom: 44px;
}
.ylh-home-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.ylh-home-hero h1 {
  font-family: var(--head);
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}
.ylh-home-hero h1 span {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ylh-home-hero p {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  max-width: 420px;
}

/* ── App icons grid ──────────────────────────────────────────── */
.ylh-apps-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 20px;
}

.ylh-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 680px;
  margin-bottom: 36px;
}

.ylh-app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--body);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
  -webkit-tap-highlight-color: transparent;
}
.ylh-app-icon:hover { transform: scale(1.10); }
.ylh-app-icon:active { transform: scale(.94); }

.ylh-app-ico-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.2);
  transition: box-shadow .2s;
  overflow: hidden;
}
.ylh-app-icon:hover .ylh-app-ico-wrap {
  box-shadow: 0 12px 32px rgba(0,0,0,.4), 0 4px 10px rgba(0,0,0,.25);
}
/* Gloss overlay like iOS */
.ylh-app-ico-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, transparent 100%);
  border-radius: 18px 18px 0 0;
  pointer-events: none;
}

.ylh-app-ico-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  text-align: center;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
  max-width: 72px;
}

/* Icon colors */
.ylh-ico-hunt    { background: linear-gradient(145deg, #2563eb, #1d4ed8); }
.ylh-ico-ig      { background: linear-gradient(145deg, #c026d3, #db2777); }
.ylh-ico-follow  { background: linear-gradient(145deg, #0ea5e9, #6366f1); }
.ylh-ico-maps    { background: linear-gradient(145deg, #10b981, #059669); }
.ylh-ico-crm     { background: linear-gradient(145deg, #7c3aed, #4f46e5); }
.ylh-ico-convert { background: linear-gradient(145deg, #0284c7, #0ea5e9); }
.ylh-ico-comp    { background: linear-gradient(145deg, #f59e0b, #d97706); }
.ylh-ico-linkedin{ background: linear-gradient(145deg, #2563eb, #1d4ed8); }
.ylh-ico-money   { background: linear-gradient(145deg, #15803d, #16a34a); }
.ylh-ico-ajuda   { background: linear-gradient(145deg, #475569, #334155); }
.ylh-ico-crm-badge { background: linear-gradient(145deg, #7c3aed, #4f46e5); }

/* Notification badge on app icon */
.ylh-app-notif {
  position: absolute;
  top: -5px; right: -5px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #0f172a;
  z-index: 2;
}

/* Dock (bottom row like iPhone) */
.ylh-dock {
  margin-top: auto;
  padding: 18px 24px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  max-width: 380px;
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.ylh-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--body);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
  -webkit-tap-highlight-color: transparent;
}
.ylh-dock-item:hover { transform: scale(1.14) translateY(-4px); }
.ylh-dock-item:active { transform: scale(.92); }
.ylh-dock-item .ylh-app-ico-wrap { width: 60px; height: 60px; border-radius: 16px; font-size: 26px; }
.ylh-dock-item .ylh-app-ico-label { font-size: 11px; color: rgba(255,255,255,.7); }

/* Stats strip */
.ylh-home-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.ylh-home-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 16px 20px;
  flex: 1;
  min-width: 120px;
  backdrop-filter: blur(10px);
}
.ylh-home-stat-val {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.ylh-home-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ylh-home-stat-icon { font-size: 20px; margin-bottom: 8px; }

/* ── Section label before dock icons ────────────────────────── */
.ylh-apps-section { margin-bottom: 36px; }
.ylh-apps-section + .ylh-apps-section { margin-top: 0; }

/* ── Top bar on content pages: back button ───────────────────── */
.ylh-page-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--g100);
}
.ylh-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blu);
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background .15s;
}
.ylh-back-btn:hover { background: #dbeafe; }
.ylh-page-topbar h2 {
  font-family: var(--head);
  font-size: 20px;
  font-weight: 800;
  color: var(--g900);
  margin: 0;
}

/* ── Responsive home screen ─────────────────────────────────── */
@media (max-width: 900px) {
  .ylh-apps-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .ylh-home-inner { padding: 36px 32px 32px; }
  .ylh-home-hero h1 { font-size: 30px; }
}
@media (max-width: 600px) {
  .ylh-apps-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .ylh-app-ico-wrap { width: 62px !important; height: 62px !important; font-size: 26px !important; }
  .ylh-app-ico-label { font-size: 11px !important; max-width: 62px !important; }
  .ylh-home-inner { padding: 24px 18px 100px; }
  .ylh-home-hero h1 { font-size: 26px; }
  .ylh-home-hero p { display: none; }
  .ylh-dock { gap: 18px; padding: 14px 16px; }
  .ylh-dock-item .ylh-app-ico-wrap { width: 52px !important; height: 52px !important; border-radius: 14px !important; font-size: 22px !important; }
  .ylh-home-stats { gap: 10px; }
  .ylh-home-stat { padding: 12px 14px; }
  .ylh-home-stat-val { font-size: 20px; }
}
@media (max-width: 380px) {
  .ylh-apps-grid { gap: 10px; }
  .ylh-app-ico-wrap { width: 54px !important; height: 54px !important; border-radius: 14px !important; }
}

/* ── Main area background light grey (non-home tabs) ─────────── */
.ylh-main { background: var(--g50); }
.ylh-tab:not(#tab-home) { background: var(--g50); }

/* Tab content cards: slightly elevated */
.ylh-tab:not(#tab-home) .ylh-form-card,
.ylh-tab:not(#tab-home) .ylh-maps-form {
  background: var(--w);
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.05);
}

/* Tab header strip */
.ylh-tab-top h2,
.ylh-tab:not(#tab-home) > h2,
.ylh-tab:not(#tab-home) > .ylh-tab-top h2 {
  font-size: 22px !important;
}

/* ── Smooth tab transitions ─────────────────────────────────── */
.ylh-tab { animation: none !important; }
.ylh-tab.active {
  animation: ylhTabIn .22s ease both !important;
}
@keyframes ylhTabIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ── Mobile topbar: dark theme to match sidebar ──────────────── */
@media (max-width: 768px) {
  .ylh-topbar {
    background: linear-gradient(135deg, #0f172a, #1e293b) !important;
    border-bottom-color: rgba(255,255,255,.08) !important;
  }
  .ylh-topbar-brand div:first-child { color: #fff !important; font-size: 15px !important; }
  .ylh-topbar-brand div:last-child  { color: rgba(255,255,255,.4) !important; }
  .ylh-mob-nav {
    background: rgba(15,23,42,.95) !important;
    border-top-color: rgba(255,255,255,.08) !important;
  }
  .ylh-mob-tab { color: rgba(255,255,255,.4) !important; }
  .ylh-mob-tab.active { color: #3b82f6 !important; }
  .ylh-mob-tab.active svg { stroke: #3b82f6 !important; fill: #3b82f6 !important; }
  .ylh-mob-tab.active::after { background: #3b82f6 !important; }
  .ylh-mob-more-item { background: rgba(255,255,255,.05) !important; border-color: rgba(255,255,255,.1) !important; color: rgba(255,255,255,.8) !important; }
  .ylh-mob-more-item:hover { background: rgba(255,255,255,.1) !important; }
  .ylh-mob-more-sheet {
    background: #1e293b !important;
    border-radius: 24px 24px 0 0 !important;
  }
  .ylh-mob-more-handle { background: rgba(255,255,255,.2) !important; }

  /* Home tab on mobile */
  #tab-home { padding-bottom: 80px !important; }
  .ylh-apps-grid { grid-template-columns: repeat(4, 1fr) !important; }
}
