/* ===== SHARED BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;
}

/* ===== SIDEBAR (shared) ===== */
.sidebar {
  width: 180px;
  flex-shrink: 0;
  border-right: 1px solid #e5e5e5;
  padding: 16px 12px;
  overflow-y: auto;
  font-size: 14px;
}

.sidebar .site-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 0 4px;
}

.sidebar-nav { margin-bottom: 18px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 5px;
  text-decoration: none;
  color: #222;
  font-size: 13px;
  margin-bottom: 1px;
}
.nav-item:hover { background: #f2f2f2; }
.nav-item.active { background: #222; color: #fff; }
.nav-item .nav-icon {
  width: 20px; height: 20px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  background: #e8e8e8;
}
.nav-item.active .nav-icon { background: #444; }
.nav-item .nav-icon.posts-icon { background: #555; }
.nav-item.active .nav-icon.posts-icon { background: #444; }

.sidebar-section-label {
  font-size: 11px;
  color: #999;
  font-weight: 600;
  padding: 0 4px;
  margin: 14px 0 6px;
}

.project-link, .social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  text-decoration: none;
  color: #222;
  font-size: 13px;
  border-radius: 5px;
  margin-bottom: 1px;
}
.project-link:hover, .social-link:hover { background: #f2f2f2; }
.pl-left, .sl-left { display: flex; align-items: center; gap: 8px; }
.pl-icon {
  width: 20px; height: 20px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.sl-icon {
  width: 20px; height: 20px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ext-icon { color: #bbb; font-size: 11px; }

/* ===== SCROLLBARS ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
