Kontent qismiga oʻtish
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦
Ilova test rejimida ishlamoqda: matnlar, jumlalar va soʻzlardagi xatoliklar tez orada tahrirchilar tomonidan tuzatiladi ✦

Tizim:Gadget-Statistika.css: Versiyalar orasidagi farq

ZiyoSfera, erkin ensiklopediya
Statistika gadjeti rasmiy Ziyosfera och uslublari (CSS)
/* ZIYOSFERA STATISTIKA — MEDIAWIKI GADGET STYLESHEET */
/* ==========================================================================
  ZIYOSFERA STATISTIKA — MEDIAWIKI GADGET / EXTENSION STYLESHEET
  Maxsus Ziyosfera:Statistika sahifasi uchun (MediaWiki Vector / Minerva skin)
  Barcha selektorlar #ziyo-userstats-root ichida lokalizatsiya qilingan
  ========================================================================== */
 
#ziyo-userstats-root {
#ziyo-userstats-root {
   font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
   font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
   margin: 16px 0 40px;
   margin: 16px 0 40px;
}
}
#ziyo-userstats-root * { box-sizing: border-box; }


.zs-stat-wrapper { display: flex; flex-direction: column; gap: 20px; }
#ziyo-userstats-root * {
  box-sizing: border-box;
}
 
/* Card Blocks */
.zs-stat-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
 
.zs-card-block {
.zs-card-block {
   background: #ffffff;
   background: #ffffff;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
}
.zs-text-center { text-align: center; }
.zs-text-center { text-align: center; }
.zs-text-sky { color: #0284c7; }
.zs-text-sky { color: #0284c7; }
.text-amber { color: #d97706; }
.text-amber { color: #d97706; }


/* Hero */
/* Hero Section */
.zs-hero-card {
.zs-hero-card {
   background: #ffffff;
   background: #ffffff;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
}
.zs-hero-header {
.zs-hero-header {
   display: flex;
   display: flex;
   margin-bottom: 20px;
   margin-bottom: 20px;
}
}
.zs-brand-row { display: flex; align-items: center; gap: 14px; }
 
.zs-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
 
.zs-brand-badge {
.zs-brand-badge {
   width: 44px; height: 44px;
   width: 44px;
  height: 44px;
   border-radius: 12px;
   border-radius: 12px;
   background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
   background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
   color: #ffffff;
   color: #ffffff;
   display: flex; align-items: center; justify-content: center;
   display: flex;
  align-items: center;
  justify-content: center;
   font-size: 20px;
   font-size: 20px;
   box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
   box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}
}
.zs-hero-title { font-size: 22px; font-weight: 800; margin: 0; color: #0f172a; border-bottom: none !important; }
 
.zs-hero-subtitle { font-size: 13px; color: #64748b; margin: 2px 0 0; }
.zs-hero-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
  border-bottom: none !important;
}
 
.zs-hero-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 2px 0 0;
}
 
.zs-personal-badge {
.zs-personal-badge {
   display: inline-flex; align-items: center; gap: 6px;
   display: inline-flex;
   background: #ecfdf5; color: #047857;
  align-items: center;
   border: 1px solid #a7f3d0; border-radius: 999px;
  gap: 6px;
   padding: 6px 14px; font-size: 12px; font-weight: 700;
   background: #ecfdf5;
  color: #047857;
   border: 1px solid #a7f3d0;
  border-radius: 999px;
   padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
}
 
/* Search Box */
.zs-search-box-wrap {
  position: relative;
  max-width: 680px;
  margin-bottom: 16px;
}
}


/* Search */
.zs-search-box-wrap { position: relative; max-width: 680px; margin-bottom: 16px; }
.zs-search-input-group {
.zs-search-input-group {
   display: flex; align-items: center;
   display: flex;
   background: #ffffff; border: 2px solid #cbd5e1;
  align-items: center;
   border-radius: 999px; padding: 5px 6px 5px 18px;
   background: #ffffff;
  border: 2px solid #cbd5e1;
   border-radius: 999px;
  padding: 5px 6px 5px 18px;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
}
.zs-search-input-group:focus-within {
.zs-search-input-group:focus-within {
   border-color: #0284c7; box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
   border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}
 
.zs-search-icon {
  color: #0284c7;
  font-size: 16px;
  margin-right: 10px;
}
}
.zs-search-icon { color: #0284c7; font-size: 16px; margin-right: 10px; }
 
.zs-search-input-group input {
.zs-search-input-group input {
   flex: 1; border: none; background: transparent; outline: none;
   flex: 1;
   font-size: 14px; color: #0f172a; font-family: inherit;
  border: none;
  background: transparent;
  outline: none;
   font-size: 14px;
  color: #0f172a;
  font-family: inherit;
}
 
.zs-btn-clear {
  padding: 6px 10px;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
}
.zs-btn-clear { padding: 6px 10px; color: #94a3b8; background: none; border: none; cursor: pointer; }
 
.zs-btn-clear:hover { color: #0f172a; }
 
.zs-btn-search {
.zs-btn-search {
   display: inline-flex; align-items: center; gap: 8px;
   display: inline-flex;
   padding: 9px 20px; background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  align-items: center;
   color: #ffffff; border: none; border-radius: 999px;
  gap: 8px;
   font-size: 13px; font-weight: 700; cursor: pointer;
   padding: 9px 20px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
   color: #ffffff;
  border: none;
  border-radius: 999px;
   font-size: 13px;
  font-weight: 700;
  cursor: pointer;
   box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
   box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
}
.zs-btn-search:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
}
.zs-btn-search:hover { filter: brightness(1.08); transform: translateY(-1px); }


/* Autocomplete */
/* Autocomplete Dropdown */
.zs-autocomplete-dropdown {
.zs-autocomplete-dropdown {
   position: absolute; top: calc(100% + 6px); left: 0; right: 0;
   position: absolute;
   background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px;
  top: calc(100% + 6px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); z-index: 1000;
  left: 0;
   padding: 6px; max-height: 320px; overflow-y: auto;
  right: 0;
   background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
   padding: 6px;
  max-height: 320px;
  overflow-y: auto;
}
}
.zs-autocomplete-item {
.zs-autocomplete-item {
   display: flex; align-items: center; justify-content: space-between;
   display: flex;
   padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 13px;
  align-items: center;
  justify-content: space-between;
   padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}
 
.zs-autocomplete-item:hover {
  background: #f0f9ff;
  color: #0284c7;
}
 
/* Quick Pick Chips */
.zs-quick-pick-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
}
 
.zs-quick-label {
  font-weight: 600;
}
 
.zs-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
}
.zs-autocomplete-item:hover { background: #f0f9ff; color: #0284c7; }


/* Chips */
.zs-quick-pick-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #64748b; }
.zs-quick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zs-chip-btn {
.zs-chip-btn {
   display: inline-flex; align-items: center; gap: 6px;
   display: inline-flex;
   padding: 4px 10px; background: #f8fafc; border: 1px solid #e2e8f0;
  align-items: center;
   border-radius: 999px; font-size: 12px; font-weight: 600; color: #334155; cursor: pointer;
  gap: 6px;
   padding: 4px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
   border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
 
.zs-chip-btn:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7;
}
}
.zs-chip-btn:hover { background: #f0f9ff; border-color: #0284c7; color: #0284c7; }
 
.zs-chip-dot {
.zs-chip-dot {
   width: 18px; height: 18px; border-radius: 50%;
   width: 18px;
   background: #0284c7; color: #fff; display: inline-flex;
  height: 18px;
   align-items: center; justify-content: center; font-size: 9px; font-weight: 800;
  border-radius: 50%;
   background: #0284c7;
  color: #fff;
  display: inline-flex;
   align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
}
}


/* Banner */
/* Streaming Progress Banner */
.zs-streaming-banner {
.zs-streaming-banner {
   background: #f0fdf4; border: 1px solid #86efac; border-radius: 12px;
   background: #f0fdf4;
   padding: 10px 18px; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid #86efac;
   font-size: 13px; color: #166534;
  border-radius: 12px;
   padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
   font-size: 13px;
  color: #166534;
}
 
.zs-streaming-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
}
.zs-streaming-content { display: flex; align-items: center; gap: 10px; }
 
.zs-pulse-dot {
.zs-pulse-dot {
   width: 8px; height: 8px; border-radius: 50%;
   width: 8px;
   background: #059669; box-shadow: 0 0 8px rgba(5, 150, 105, 0.6);
  height: 8px;
  border-radius: 50%;
   background: #059669;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.6);
   animation: pulse-glow 1.5s infinite;
   animation: pulse-glow 1.5s infinite;
}
}
@keyframes pulse-glow {
@keyframes pulse-glow {
   0%, 100% { opacity: 1; transform: scale(1); }
   0%, 100% { opacity: 1; transform: scale(1); }
   50% { opacity: 0.4; transform: scale(0.85); }
   50% { opacity: 0.4; transform: scale(0.85); }
}
}
.zs-counter-pill {
.zs-counter-pill {
   font-family: 'JetBrains Mono', monospace; font-weight: 800;
   font-family: 'JetBrains Mono', monospace;
   background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0;
  font-weight: 800;
   padding: 2px 8px; border-radius: 999px; font-size: 12px;
   background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
   padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}
}


/* Profile */
/* User Profile Banner */
.zs-profile-banner {
.zs-profile-banner {
   background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px;
   background: #ffffff;
   padding: 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  border: 1px solid #e2e8f0;
   position: relative; overflow: hidden;
  border-radius: 16px;
   padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
   position: relative;
  overflow: hidden;
}
}
.zs-profile-banner::before {
.zs-profile-banner::before {
   content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
   content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
   background: linear-gradient(90deg, #0284c7, #2563eb, #059669);
   background: linear-gradient(90deg, #0284c7, #2563eb, #059669);
}
}
.zs-avatar-large {
.zs-avatar-large {
   width: 72px; height: 72px; border-radius: 16px;
   width: 72px;
  height: 72px;
  border-radius: 16px;
   background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
   background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
   color: #ffffff; font-size: 28px; font-weight: 800;
   color: #ffffff;
   display: flex; align-items: center; justify-content: center;
  font-size: 28px;
   box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25); flex-shrink: 0;
  font-weight: 800;
   display: flex;
  align-items: center;
  justify-content: center;
   box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}
 
.zs-user-meta-col {
  flex: 1;
  min-width: 240px;
}
 
.zs-user-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
 
.zs-user-name {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
  border-bottom: none !important;
}
 
.zs-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
}
.zs-user-meta-col { flex: 1; min-width: 240px; }
 
.zs-user-header-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.zs-user-name { font-size: 24px; font-weight: 800; margin: 0; color: #0f172a; border-bottom: none !important; }
.zs-badges-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.zs-badge-role {
.zs-badge-role {
   display: inline-flex; align-items: center; padding: 3px 8px;
   display: inline-flex;
   border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  align-items: center;
  padding: 3px 8px;
   border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
}
.zs-badge-role.sysop { background: #ffe4e6; color: #be123c; border: 1px solid #fecdd3; }
.zs-badge-role.sysop { background: #ffe4e6; color: #be123c; border: 1px solid #fecdd3; }
.zs-badge-role.bureaucrat { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.zs-badge-role.bureaucrat { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.zs-badge-role.user, .zs-badge-role.autoconfirmed { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.zs-badge-role.user, .zs-badge-role.autoconfirmed { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.zs-badge-role.bot { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.zs-badge-role.bot { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.zs-meta-tags-row { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #64748b; }
 
.zs-meta-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}
 
.zs-meta-tags-row strong { color: #0f172a; }
.zs-meta-tags-row strong { color: #0f172a; }
.zs-profile-tools { display: flex; gap: 8px; }
 
.zs-profile-tools {
  display: flex;
  gap: 8px;
}
 
.zs-btn-tool {
.zs-btn-tool {
   display: inline-flex; align-items: center; gap: 6px;
   display: inline-flex;
   padding: 7px 12px; background: #f8fafc; border: 1px solid #e2e8f0;
  align-items: center;
   border-radius: 8px; font-size: 12px; font-weight: 600; color: #334155; cursor: pointer;
  gap: 6px;
   padding: 7px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
   border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}
 
.zs-btn-tool:hover {
  background: #f1f5f9;
  color: #0284c7;
  border-color: #cbd5e1;
}
 
/* KPI Cards Grid */
.zs-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
}
.zs-btn-tool:hover { background: #f1f5f9; color: #0284c7; }


/* KPI Grid */
.zs-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.zs-kpi-card {
.zs-kpi-card {
   background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px;
   background: #ffffff;
   padding: 18px 20px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
   position: relative; overflow: hidden;
  border-radius: 14px;
   padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
   position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}
}
.zs-kpi-card.clickable { cursor: pointer; }
.zs-kpi-card.clickable { cursor: pointer; }
.zs-kpi-card.clickable:hover { transform: translateY(-2px); border-color: #cbd5e1; }
.zs-kpi-card.clickable:hover {
.zs-kpi-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; }
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}
 
.zs-kpi-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}
 
.zs-kpi-card.highlight-sky::after { background: #0284c7; }
.zs-kpi-card.highlight-sky::after { background: #0284c7; }
.zs-kpi-card.highlight-green::after { background: #059669; }
.zs-kpi-card.highlight-green::after { background: #059669; }
.zs-kpi-card.highlight-cyan::after { background: #0891b2; }
.zs-kpi-card.highlight-cyan::after { background: #0891b2; }
.zs-kpi-card.highlight-amber::after { background: #d97706; }
.zs-kpi-card.highlight-amber::after { background: #d97706; }
.zs-kpi-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
 
.zs-kpi-label { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; }
.zs-kpi-header {
.zs-kpi-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
 
.zs-kpi-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}
 
.zs-kpi-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
 
.zs-kpi-icon.sky { background: #f0f9ff; color: #0284c7; }
.zs-kpi-icon.sky { background: #f0f9ff; color: #0284c7; }
.zs-kpi-icon.green { background: #ecfdf5; color: #059669; }
.zs-kpi-icon.green { background: #ecfdf5; color: #059669; }
.zs-kpi-icon.cyan { background: #ecfeff; color: #0891b2; }
.zs-kpi-icon.cyan { background: #ecfeff; color: #0891b2; }
.zs-kpi-icon.amber { background: #fffbeb; color: #d97706; }
.zs-kpi-icon.amber { background: #fffbeb; color: #d97706; }
.zs-kpi-val { font-size: 30px; font-weight: 800; font-family: 'JetBrains Mono', monospace; color: #0f172a; margin-bottom: 6px; }
 
.zs-kpi-val {
  font-size: 30px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: #0f172a;
  margin-bottom: 6px;
}
 
.zs-kpi-val.sm { font-size: 20px; font-weight: 700; }
.zs-kpi-val.sm { font-size: 20px; font-weight: 700; }
.zs-kpi-status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
 
.zs-kpi-footer {
  font-size: 12px;
}
 
.zs-kpi-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
 
.zs-kpi-status-badge.green { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.zs-kpi-status-badge.green { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.zs-kpi-status-badge.gray { background: #f1f5f9; color: #475569; }
.zs-kpi-status-badge.gray { background: #f1f5f9; color: #475569; }


/* Tabs */
/* Tabs Bar */
.zs-tabs-bar {
.zs-tabs-bar {
   display: flex; align-items: center; gap: 6px;
   display: flex;
   background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px;
  align-items: center;
   padding: 6px; overflow-x: auto;
  gap: 6px;
   background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
   padding: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
}
}
.zs-tab-btn {
.zs-tab-btn {
   display: inline-flex; align-items: center; gap: 8px;
   display: inline-flex;
   padding: 9px 16px; border-radius: 8px; font-size: 13px; font-weight: 700;
  align-items: center;
   color: #475569; background: none; border: none; cursor: pointer; white-space: nowrap;
  gap: 8px;
   padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
   color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
}
.zs-tab-btn:hover { background: #f8fafc; color: #0f172a; }
.zs-tab-btn:hover { background: #f8fafc; color: #0f172a; }
.zs-tab-btn.active {
.zs-tab-btn.active {
   background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
   background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
   color: #ffffff; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
   color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}
}
.zs-tab-counter {
.zs-tab-counter {
   font-size: 11px; font-family: 'JetBrains Mono', monospace;
   font-size: 11px;
   background: rgba(255, 255, 255, 0.25); padding: 1px 6px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
   background: rgba(255, 255, 255, 0.25);
  padding: 1px 6px;
  border-radius: 999px;
}
}
.zs-tab-content { display: none; }
.zs-tab-content { display: none; }
.zs-tab-content.active { display: flex; flex-direction: column; gap: 20px; }
.zs-tab-content.active { display: flex; flex-direction: column; gap: 20px; }


/* Calendar */
/* Card Title Row */
.zs-card-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.zs-card-title-row {
.zs-card-title { font-size: 17px; font-weight: 800; margin: 0; color: #0f172a; border-bottom: none !important; }
  display: flex;
.zs-card-sub { font-size: 13px; color: #64748b; margin: 2px 0 0; }
  align-items: center;
.zs-toggle-group { display: inline-flex; background: #f1f5f9; border-radius: 8px; padding: 3px; gap: 3px; }
  justify-content: space-between;
.zs-toggle-btn { padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #475569; background: none; border: none; cursor: pointer; }
  flex-wrap: wrap;
.zs-toggle-btn.active { background: #0284c7; color: #ffffff; }
  gap: 12px;
  margin-bottom: 18px;
}
 
.zs-card-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
  border-bottom: none !important;
}
 
.zs-card-sub {
  font-size: 13px;
  color: #64748b;
  margin: 2px 0 0;
}
 
/* Toggle Group */
.zs-toggle-group {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}
 
.zs-toggle-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
}
 
.zs-toggle-btn.active {
  background: #0284c7;
  color: #ffffff;
}


/* Calendar Month Nav */
.zs-cal-nav-bar {
.zs-cal-nav-bar {
   display: flex; align-items: center; justify-content: space-between;
   display: flex;
   background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
  align-items: center;
   padding: 8px 14px; margin-bottom: 14px;
  justify-content: space-between;
   background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
   padding: 8px 14px;
  margin-bottom: 14px;
}
}
.zs-month-title { font-size: 15px; font-weight: 800; color: #0f172a; margin-right: 10px; }
 
.zs-month-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-right: 10px;
}
 
.zs-select-sm {
.zs-select-sm {
   background: #ffffff; border: 1px solid #cbd5e1; border-radius: 6px;
   background: #ffffff;
   padding: 4px 8px; font-size: 12px; font-weight: 600; color: #0284c7; outline: none;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
   padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #0284c7;
  outline: none;
}
}
/* Calendar Days Grid */
.zs-cal-weekdays {
.zs-cal-weekdays {
   display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
   display: grid;
   text-align: center; font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; margin-bottom: 6px;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
   text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
}
}
.zs-cal-weekdays .weekend { color: #e11d48; }
.zs-cal-weekdays .weekend { color: #e11d48; }
.zs-cal-days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
 
.zs-cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
 
.zs-cal-cell {
.zs-cal-cell {
   min-height: 68px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px;
   min-height: 68px;
   padding: 6px 8px; display: flex; flex-direction: column; justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
   padding: 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.15s ease;
}
 
.zs-cal-cell.empty {
  opacity: 0.3;
  background: #f8fafc;
  border-style: dashed;
}
 
.zs-cal-cell.has-articles {
  cursor: pointer;
  background: #f0fdf4;
  border-color: #86efac;
}
 
.zs-cal-cell.has-articles:hover {
  background: #dcfce7;
  border-color: #22c55e;
  transform: translateY(-2px);
}
 
.zs-cal-cell.selected {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}
 
.zs-cal-day-num {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}
 
.has-articles .zs-cal-day-num {
  color: #0f172a;
  font-weight: 800;
}
}
.zs-cal-cell.empty { opacity: 0.3; background: #f8fafc; border-style: dashed; }
 
.zs-cal-cell.has-articles { cursor: pointer; background: #f0fdf4; border-color: #86efac; }
.zs-cal-cell.has-articles:hover { background: #dcfce7; border-color: #22c55e; transform: translateY(-2px); }
.zs-cal-cell.selected { background: #e0f2fe !important; border-color: #0284c7 !important; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25); }
.zs-cal-day-num { font-size: 13px; font-weight: 700; color: #475569; }
.has-articles .zs-cal-day-num { color: #0f172a; font-weight: 800; }
.zs-cal-count-badge {
.zs-cal-count-badge {
   display: inline-flex; padding: 2px 6px; border-radius: 999px;
   display: inline-flex;
   font-size: 10px; font-weight: 800; font-family: 'JetBrains Mono', monospace;
  padding: 2px 6px;
   background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; width: fit-content;
  border-radius: 999px;
   font-size: 10px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
   background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  width: fit-content;
}
}


/* Leaderboard */
/* Leaderboard */
.zs-leaderboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; max-height: 320px; overflow-y: auto; }
.zs-leaderboard-grid {
.zs-leaderboard-card { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; cursor: pointer; }
  display: grid;
.zs-leaderboard-card:hover, .zs-leaderboard-card.selected { background: #f0fdf4; border-color: #059669; }
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
}
 
.zs-leaderboard-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
}
 
.zs-leaderboard-card:hover, .zs-leaderboard-card.selected {
  background: #f0fdf4;
  border-color: #059669;
}
 
.zs-lead-date { font-size: 13px; font-weight: 700; }
.zs-lead-date { font-size: 13px; font-weight: 700; }
.zs-lead-count { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 800; color: #15803d; background: #dcfce7; padding: 2px 6px; border-radius: 999px; }
.zs-lead-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 999px;
}


/* Active Filter */
/* Active Filter Alert */
.zs-active-filter-alert {
.zs-active-filter-alert {
   display: flex; align-items: center; justify-content: space-between;
   display: flex;
   background: #f0fdf4; border: 1px solid #86efac; border-radius: 10px;
  align-items: center;
   padding: 10px 16px; margin-top: 14px; color: #166534; font-size: 13px;
  justify-content: space-between;
   background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
   padding: 10px 16px;
  margin-top: 14px;
  color: #166534;
  font-size: 13px;
}
}


/* Table */
/* Table */
.zs-table-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.zs-table-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
 
.zs-input-icon-wrap {
.zs-input-icon-wrap {
   display: flex; align-items: center; background: #ffffff;
   display: flex;
   border: 1px solid #cbd5e1; border-radius: 8px; padding: 5px 10px; font-size: 13px;
  align-items: center;
  background: #ffffff;
   border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
}
}
.zs-input-icon-wrap i { color: #94a3b8; margin-right: 6px; }
.zs-input-icon-wrap i { color: #94a3b8; margin-right: 6px; }
.zs-input-icon-wrap input { border: none; outline: none; font-size: 13px; color: #0f172a; }
.zs-input-icon-wrap input {
.zs-table-responsive { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 10px; }
  border: none;
.zs-data-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #ffffff; }
  outline: none;
  font-size: 13px;
  color: #0f172a;
}
 
.zs-table-responsive {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
 
.zs-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #ffffff;
}
 
.zs-data-table th {
.zs-data-table th {
   background: #f8fafc; padding: 10px 14px; font-weight: 700; color: #475569;
   background: #f8fafc;
   border-bottom: 1px solid #e2e8f0; text-align: left; font-size: 11px; text-transform: uppercase;
  padding: 10px 14px;
  font-weight: 700;
  color: #475569;
   border-bottom: 1px solid #e2e8f0;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
}
 
.zs-data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
}
}
.zs-data-table td { padding: 11px 14px; border-bottom: 1px solid #f1f5f9; color: #0f172a; }
 
.zs-data-table tr:hover { background: #f8fafc; }
.zs-data-table tr:hover { background: #f8fafc; }
.zs-art-link { color: #0284c7; font-weight: 600; text-decoration: none; }
 
.zs-art-link:hover { color: #0369a1; text-decoration: underline; }
.zs-art-link {
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
}
 
.zs-art-link:hover {
  color: #0369a1;
  text-decoration: underline;
}
 
.zs-badge-size {
.zs-badge-size {
   display: inline-flex; padding: 2px 7px; border-radius: 999px;
   display: inline-flex;
   font-family: 'JetBrains Mono', monospace; font-size: 11px;
  padding: 2px 7px;
   background: #f0f9ff; color: #0284c7; border: 1px solid #bae6fd;
  border-radius: 999px;
   font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
   background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
}
.zs-btn-preview {
.zs-btn-preview {
   padding: 4px 10px; background: #f8fafc; border: 1px solid #e2e8f0;
   padding: 4px 10px;
   border-radius: 6px; font-size: 11px; font-weight: 600; color: #0284c7; cursor: pointer;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
   border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #0284c7;
  cursor: pointer;
}
 
.zs-btn-preview:hover {
  background: #e0f2fe;
  border-color: #0284c7;
}
 
.zs-table-footer {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
  text-align: right;
}
 
/* Grouped Date Accordion */
.zs-date-group-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
}
.zs-btn-preview:hover { background: #e0f2fe; border-color: #0284c7; }
.zs-table-footer { margin-top: 10px; font-size: 12px; color: #64748b; text-align: right; }


/* Grouped */
.zs-date-group-card { border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.zs-date-group-header {
.zs-date-group-header {
   display: flex; align-items: center; justify-content: space-between;
   display: flex;
   padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-size: 13px;
  align-items: center;
  justify-content: space-between;
   padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
}
 
.zs-date-group-body {
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
 
.zs-group-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}
}
.zs-date-group-body { padding: 8px 14px; display: flex; flex-direction: column; gap: 6px; }
 
.zs-group-item-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.zs-group-item-row:last-child { border-bottom: none; }
.zs-group-item-row:last-child { border-bottom: none; }


/* Analytics */
/* Analytics Charts Grid */
.zs-analytics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.zs-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
 
.zs-analytics-grid .full-width { grid-column: 1 / -1; }
.zs-analytics-grid .full-width { grid-column: 1 / -1; }
.zs-chart-wrap { position: relative; height: 220px; margin-top: 12px; }
 
.zs-legend-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.zs-chart-wrap {
.zs-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #475569; }
  position: relative;
.zs-legend-dot { width: 10px; height: 10px; border-radius: 50%; }
  height: 220px;
.zs-byte-summary-row { display: flex; align-items: center; justify-content: space-around; margin-top: 14px; padding-top: 10px; border-top: 1px solid #f1f5f9; font-size: 13px; }
  margin-top: 12px;
}
 
.zs-legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
 
.zs-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #475569;
}
 
.zs-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
 
.zs-byte-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
}


/* Timeline */
/* Timeline */
.zs-timeline-list { display: flex; flex-direction: column; gap: 10px; }
.zs-timeline-list {
.zs-timeline-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; }
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.zs-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
 
.zs-timeline-icon {
.zs-timeline-icon {
   width: 28px; height: 28px; border-radius: 50%; background: #e0f2fe; color: #0284c7;
   width: 28px;
   display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0;
  height: 28px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
   display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
}
.zs-timeline-content { flex: 1; }
.zs-timeline-content { flex: 1; }
.zs-timeline-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
 
.zs-timeline-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
 
.zs-timeline-date { font-size: 11px; color: #64748b; }
.zs-timeline-date { font-size: 11px; color: #64748b; }
.zs-timeline-meta-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; }
 
.zs-badge-diff { font-family: 'JetBrains Mono', monospace; font-weight: 700; padding: 1px 6px; border-radius: 4px; font-size: 11px; }
.zs-timeline-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
}
 
.zs-badge-diff {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}
 
.zs-badge-diff.pos { background: #dcfce7; color: #15803d; }
.zs-badge-diff.pos { background: #dcfce7; color: #15803d; }
.zs-badge-diff.neg { background: #ffe4e6; color: #be123c; }
.zs-badge-diff.neg { background: #ffe4e6; color: #be123c; }
.zs-badge-diff.zero { background: #f1f5f9; color: #64748b; }
.zs-badge-diff.zero { background: #f1f5f9; color: #64748b; }
.zs-timeline-comment { color: #64748b; font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
 
.zs-timeline-comment {
  color: #64748b;
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* Permissions */
/* Permissions */
.zs-groups-list { display: flex; flex-direction: column; gap: 8px; }
.zs-groups-list {
.zs-group-item-card { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
  display: flex;
  flex-direction: column;
  gap: 8px;
}
 
.zs-group-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
 
.zs-group-icon-wrap {
.zs-group-icon-wrap {
   width: 32px; height: 32px; border-radius: 8px; background: #0284c7; color: #fff;
   width: 32px;
   display: flex; align-items: center; justify-content: center; font-size: 13px;
  height: 32px;
  border-radius: 8px;
  background: #0284c7;
  color: #fff;
   display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
}
.zs-rights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; }
 
.zs-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px;
  max-height: 300px;
  overflow-y: auto;
}
 
.zs-right-chip {
.zs-right-chip {
   padding: 6px 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px;
   padding: 6px 10px;
   font-size: 11px; color: #334155; display: flex; align-items: center; gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
   font-size: 11px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}
 
/* Guest Card */
.zs-guest-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0fdf4;
  border: 1px solid #86efac;
}
 
.zs-guest-icon {
  font-size: 36px;
  color: #059669;
}
}


/* Guest */
.zs-guest-card { display: flex; align-items: center; gap: 20px; background: #f0fdf4; border: 1px solid #86efac; }
.zs-guest-icon { font-size: 36px; color: #059669; }
.zs-guest-body h3 { margin: 0 0 4px; font-size: 16px; color: #166534; }
.zs-guest-body h3 { margin: 0 0 4px; font-size: 16px; color: #166534; }
.zs-guest-body p { margin: 0; font-size: 13px; color: #15803d; }
.zs-guest-body p { margin: 0; font-size: 13px; color: #15803d; }
/* Buttons & Spinners */
/* Buttons & Spinners */
.zs-btn-subtle {
.zs-btn-subtle {
   display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
   display: inline-flex;
   background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px;
  align-items: center;
   font-size: 12px; font-weight: 600; color: #334155; cursor: pointer;
  gap: 6px;
  padding: 6px 12px;
   background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
   font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}
}
.zs-btn-subtle:hover { background: #f1f5f9; color: #0f172a; }
.zs-btn-subtle:hover { background: #f1f5f9; color: #0f172a; }
.zs-btn-subtle.sm { padding: 4px 8px; font-size: 11px; }
.zs-btn-subtle.sm { padding: 4px 8px; font-size: 11px; }


.zs-btn-primary {
.zs-btn-primary {
   display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
   display: inline-flex;
   background: #0284c7; color: #ffffff; border: none; border-radius: 8px;
  align-items: center;
   font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer;
  gap: 6px;
  padding: 8px 16px;
   background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
   font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
}
.zs-btn-primary:hover { background: #0369a1; }
.zs-btn-primary:hover { background: #0369a1; }
.zs-btn-primary.sm { padding: 6px 12px; font-size: 12px; }
.zs-btn-primary.sm { padding: 6px 12px; font-size: 12px; }


.zs-btn-text { background: none; border: none; color: #0284c7; font-weight: 700; font-size: 12px; cursor: pointer; }
.zs-btn-text {
  background: none;
  border: none;
  color: #0284c7;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}


.zs-spinner {
.zs-spinner {
   width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%;
   width: 40px;
   border: 3px solid #e0f2fe; border-top-color: #0284c7; animation: zs-spin 0.8s linear infinite;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 50%;
   border: 3px solid #e0f2fe;
  border-top-color: #0284c7;
  animation: zs-spin 0.8s linear infinite;
}
 
.zs-spinner.sm {
  width: 24px;
  height: 24px;
  margin: 0 auto;
}
 
@keyframes zs-spin {
  to { transform: rotate(360deg); }
}
}
.zs-spinner.sm { width: 24px; height: 24px; margin: 0 auto; }
@keyframes zs-spin { to { transform: rotate(360deg); } }


/* Modal */
/* Modal */
.zs-modal-overlay {
.zs-modal-overlay {
   position: fixed; top: 0; left: 0; right: 0; bottom: 0;
   position: fixed;
   background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
  top: 0; left: 0; right: 0; bottom: 0;
   z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px;
   background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
   z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
}
.zs-modal-dialog {
.zs-modal-dialog {
   background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px;
   background: #ffffff;
   max-width: 600px; width: 100%; max-height: 85vh;
  border: 1px solid #e2e8f0;
   display: flex; flex-direction: column; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); overflow: hidden;
  border-radius: 14px;
   max-width: 600px;
  width: 100%;
  max-height: 85vh;
   display: flex;
  flex-direction: column;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
}
.zs-modal-header {
.zs-modal-header {
   display: flex; align-items: flex-start; justify-content: space-between;
   display: flex;
   padding: 16px 20px; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  align-items: flex-start;
  justify-content: space-between;
   padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
 
.zs-modal-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
}
}
.zs-modal-tag { font-size: 11px; font-weight: 700; color: #0284c7; text-transform: uppercase; }
 
.zs-modal-title { margin: 2px 0 0; font-size: 18px; font-weight: 800; color: #0f172a; }
.zs-modal-title {
.zs-modal-close { background: none; border: none; font-size: 24px; line-height: 1; color: #64748b; cursor: pointer; }
  margin: 2px 0 0;
.zs-modal-body { padding: 20px; overflow-y: auto; font-size: 14px; line-height: 1.65; color: #334155; }
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
 
.zs-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}
 
.zs-modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}
 
.zs-modal-footer {
.zs-modal-footer {
   display: flex; align-items: center; justify-content: space-between;
   display: flex;
   padding: 14px 20px; background: #f8fafc; border-top: 1px solid #e2e8f0;
  align-items: center;
  justify-content: space-between;
   padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
}
.zs-modal-note { font-size: 11px; color: #64748b; }
.zs-modal-note { font-size: 11px; color: #64748b; }

$2, $3 dagi (joriy) koʻrinishi

/* ==========================================================================
   ZIYOSFERA STATISTIKA — MEDIAWIKI GADGET / EXTENSION STYLESHEET
   Maxsus Ziyosfera:Statistika sahifasi uchun (MediaWiki Vector / Minerva skin)
   Barcha selektorlar #ziyo-userstats-root ichida lokalizatsiya qilingan
   ========================================================================== */

#ziyo-userstats-root {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #0f172a;
  line-height: 1.55;
  margin: 16px 0 40px;
}

#ziyo-userstats-root * {
  box-sizing: border-box;
}

/* Card Blocks */
.zs-stat-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.zs-card-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.zs-text-center { text-align: center; }
.zs-text-sky { color: #0284c7; }
.text-emerald, .text-green { color: #059669; }
.text-amber { color: #d97706; }

/* Hero Section */
.zs-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.zs-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.zs-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zs-brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.zs-hero-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
  border-bottom: none !important;
}

.zs-hero-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 2px 0 0;
}

.zs-personal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
}

/* Search Box */
.zs-search-box-wrap {
  position: relative;
  max-width: 680px;
  margin-bottom: 16px;
}

.zs-search-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  padding: 5px 6px 5px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.zs-search-input-group:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.zs-search-icon {
  color: #0284c7;
  font-size: 16px;
  margin-right: 10px;
}

.zs-search-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #0f172a;
  font-family: inherit;
}

.zs-btn-clear {
  padding: 6px 10px;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.zs-btn-clear:hover { color: #0f172a; }

.zs-btn-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
}

.zs-btn-search:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Autocomplete Dropdown */
.zs-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 6px;
  max-height: 320px;
  overflow-y: auto;
}

.zs-autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.zs-autocomplete-item:hover {
  background: #f0f9ff;
  color: #0284c7;
}

/* Quick Pick Chips */
.zs-quick-pick-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
}

.zs-quick-label {
  font-weight: 600;
}

.zs-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zs-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.zs-chip-btn:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7;
}

.zs-chip-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0284c7;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
}

/* Streaming Progress Banner */
.zs-streaming-banner {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #166534;
}

.zs-streaming-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zs-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.6);
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.zs-counter-pill {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}

/* User Profile Banner */
.zs-profile-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.zs-profile-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #2563eb, #059669);
}

.zs-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}

.zs-user-meta-col {
  flex: 1;
  min-width: 240px;
}

.zs-user-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.zs-user-name {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
  border-bottom: none !important;
}

.zs-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zs-badge-role {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.zs-badge-role.sysop { background: #ffe4e6; color: #be123c; border: 1px solid #fecdd3; }
.zs-badge-role.bureaucrat { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.zs-badge-role.interface-admin { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.zs-badge-role.oromgoh { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.zs-badge-role.user, .zs-badge-role.autoconfirmed { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.zs-badge-role.bot { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

.zs-meta-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.zs-meta-tags-row strong { color: #0f172a; }

.zs-profile-tools {
  display: flex;
  gap: 8px;
}

.zs-btn-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.zs-btn-tool:hover {
  background: #f1f5f9;
  color: #0284c7;
  border-color: #cbd5e1;
}

/* KPI Cards Grid */
.zs-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.zs-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.zs-kpi-card.clickable { cursor: pointer; }
.zs-kpi-card.clickable:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

.zs-kpi-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.zs-kpi-card.highlight-sky::after { background: #0284c7; }
.zs-kpi-card.highlight-green::after { background: #059669; }
.zs-kpi-card.highlight-cyan::after { background: #0891b2; }
.zs-kpi-card.highlight-amber::after { background: #d97706; }

.zs-kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.zs-kpi-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.zs-kpi-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.zs-kpi-icon.sky { background: #f0f9ff; color: #0284c7; }
.zs-kpi-icon.green { background: #ecfdf5; color: #059669; }
.zs-kpi-icon.cyan { background: #ecfeff; color: #0891b2; }
.zs-kpi-icon.amber { background: #fffbeb; color: #d97706; }

.zs-kpi-val {
  font-size: 30px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: #0f172a;
  margin-bottom: 6px;
}

.zs-kpi-val.sm { font-size: 20px; font-weight: 700; }

.zs-kpi-footer {
  font-size: 12px;
}

.zs-kpi-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.zs-kpi-status-badge.green { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.zs-kpi-status-badge.gray { background: #f1f5f9; color: #475569; }

/* Tabs Bar */
.zs-tabs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
}

.zs-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.zs-tab-btn:hover { background: #f8fafc; color: #0f172a; }

.zs-tab-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.zs-tab-counter {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255, 255, 255, 0.25);
  padding: 1px 6px;
  border-radius: 999px;
}

.zs-tab-content { display: none; }
.zs-tab-content.active { display: flex; flex-direction: column; gap: 20px; }

/* Card Title Row */
.zs-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.zs-card-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
  border-bottom: none !important;
}

.zs-card-sub {
  font-size: 13px;
  color: #64748b;
  margin: 2px 0 0;
}

/* Toggle Group */
.zs-toggle-group {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}

.zs-toggle-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
}

.zs-toggle-btn.active {
  background: #0284c7;
  color: #ffffff;
}

/* Calendar Month Nav */
.zs-cal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 14px;
}

.zs-month-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-right: 10px;
}

.zs-select-sm {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #0284c7;
  outline: none;
}

/* Calendar Days Grid */
.zs-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.zs-cal-weekdays .weekend { color: #e11d48; }

.zs-cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.zs-cal-cell {
  min-height: 68px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.15s ease;
}

.zs-cal-cell.empty {
  opacity: 0.3;
  background: #f8fafc;
  border-style: dashed;
}

.zs-cal-cell.has-articles {
  cursor: pointer;
  background: #f0fdf4;
  border-color: #86efac;
}

.zs-cal-cell.has-articles:hover {
  background: #dcfce7;
  border-color: #22c55e;
  transform: translateY(-2px);
}

.zs-cal-cell.selected {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

.zs-cal-day-num {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.has-articles .zs-cal-day-num {
  color: #0f172a;
  font-weight: 800;
}

.zs-cal-count-badge {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  width: fit-content;
}

/* Leaderboard */
.zs-leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
}

.zs-leaderboard-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
}

.zs-leaderboard-card:hover, .zs-leaderboard-card.selected {
  background: #f0fdf4;
  border-color: #059669;
}

.zs-lead-date { font-size: 13px; font-weight: 700; }
.zs-lead-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 999px;
}

/* Active Filter Alert */
.zs-active-filter-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 10px 16px;
  margin-top: 14px;
  color: #166534;
  font-size: 13px;
}

/* Table */
.zs-table-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.zs-input-icon-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
}

.zs-input-icon-wrap i { color: #94a3b8; margin-right: 6px; }
.zs-input-icon-wrap input {
  border: none;
  outline: none;
  font-size: 13px;
  color: #0f172a;
}

.zs-table-responsive {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.zs-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #ffffff;
}

.zs-data-table th {
  background: #f8fafc;
  padding: 10px 14px;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
}

.zs-data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
}

.zs-data-table tr:hover { background: #f8fafc; }

.zs-art-link {
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
}

.zs-art-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

.zs-badge-size {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.zs-btn-preview {
  padding: 4px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #0284c7;
  cursor: pointer;
}

.zs-btn-preview:hover {
  background: #e0f2fe;
  border-color: #0284c7;
}

.zs-table-footer {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
  text-align: right;
}

/* Grouped Date Accordion */
.zs-date-group-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.zs-date-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
}

.zs-date-group-body {
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zs-group-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}

.zs-group-item-row:last-child { border-bottom: none; }

/* Analytics Charts Grid */
.zs-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.zs-analytics-grid .full-width { grid-column: 1 / -1; }

.zs-chart-wrap {
  position: relative;
  height: 220px;
  margin-top: 12px;
}

.zs-legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.zs-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #475569;
}

.zs-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.zs-byte-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
}

/* Timeline */
.zs-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zs-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.zs-timeline-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.zs-timeline-content { flex: 1; }

.zs-timeline-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.zs-timeline-date { font-size: 11px; color: #64748b; }

.zs-timeline-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
}

.zs-badge-diff {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

.zs-badge-diff.pos { background: #dcfce7; color: #15803d; }
.zs-badge-diff.neg { background: #ffe4e6; color: #be123c; }
.zs-badge-diff.zero { background: #f1f5f9; color: #64748b; }

.zs-timeline-comment {
  color: #64748b;
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Permissions */
.zs-groups-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zs-group-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.zs-group-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0284c7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.zs-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px;
  max-height: 300px;
  overflow-y: auto;
}

.zs-right-chip {
  padding: 6px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 11px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Guest Card */
.zs-guest-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0fdf4;
  border: 1px solid #86efac;
}

.zs-guest-icon {
  font-size: 36px;
  color: #059669;
}

.zs-guest-body h3 { margin: 0 0 4px; font-size: 16px; color: #166534; }
.zs-guest-body p { margin: 0; font-size: 13px; color: #15803d; }
.zs-link-bold { color: #0284c7; font-weight: 700; text-decoration: underline; }

/* Buttons & Spinners */
.zs-btn-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.zs-btn-subtle:hover { background: #f1f5f9; color: #0f172a; }
.zs-btn-subtle.sm { padding: 4px 8px; font-size: 11px; }

.zs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.zs-btn-primary:hover { background: #0369a1; }
.zs-btn-primary.sm { padding: 6px 12px; font-size: 12px; }

.zs-btn-text {
  background: none;
  border: none;
  color: #0284c7;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.zs-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid #e0f2fe;
  border-top-color: #0284c7;
  animation: zs-spin 0.8s linear infinite;
}

.zs-spinner.sm {
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

@keyframes zs-spin {
  to { transform: rotate(360deg); }
}

/* Modal */
.zs-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.zs-modal-dialog {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.zs-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.zs-modal-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
}

.zs-modal-title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.zs-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.zs-modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}

.zs-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.zs-modal-note { font-size: 11px; color: #64748b; }