/* ============================================================
   Zcolab Zero1 — Portal do Cliente — Redesign v3.0
   Design System: SaaS moderno, baseado em Freshservice / Zendesk
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --zp-sidebar-w: 240px;
  --zp-header-h: 64px;
  --zp-bg: #F8FAFC;
  --zp-white: #FFFFFF;
  --zp-border: #E2E8F0;
  --zp-primary: #2563EB;
  --zp-primary-light: #EFF6FF;
  --zp-primary-dark: #1D4ED8;
  --zp-text: #1E293B;
  --zp-text-2: #475569;
  --zp-text-muted: #94A3B8;
  --zp-success: #16A34A;
  --zp-success-light: #F0FDF4;
  --zp-warning: #D97706;
  --zp-warning-light: #FFFBEB;
  --zp-danger: #DC2626;
  --zp-danger-light: #FEF2F2;
  --zp-info: #0891B2;
  --zp-info-light: #ECFEFF;
  --zp-shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --zp-shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
  --zp-radius: 14px;
  --zp-radius-sm: 8px;
}

/* ── Base Portal Overrides ──────────────────────────────── */
body.zp-portal {
  background: var(--zp-bg) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: var(--zp-text) !important;
}

/* Hide legacy navbar in portal mode */
body.zp-portal .navbar,
body.zp-portal nav.navbar {
  display: none !important;
}

/* ── Layout Structure ───────────────────────────────────── */
body.zp-portal {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

body.zp-portal #zp-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--zp-sidebar-w);
  background: var(--zp-white);
  border-right: 1px solid var(--zp-border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform .25s ease;
}

body.zp-portal #zp-main {
  margin-left: var(--zp-sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--zp-bg);
}

/* ── Sidebar: Brand ─────────────────────────────────────── */
#zp-brand {
  padding: 20px 20px 8px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--zp-border);
  min-height: 64px;
  flex-shrink: 0;
}
#zp-brand img {
  max-height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
#zp-brand .zp-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--zp-primary);
  letter-spacing: -.02em;
}

/* ── Sidebar: Navigation ────────────────────────────────── */
#zp-nav {
  flex: 1;
  padding: 10px 12px;
  overflow-y: auto;
}
#zp-nav ul { list-style: none; margin: 0; padding: 0; }
#zp-nav li { margin-bottom: 2px; }
#zp-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--zp-radius-sm);
  color: var(--zp-text-2);
  text-decoration: none !important;
  font-size: .875rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#zp-nav li a:hover {
  background: var(--zp-bg);
  color: var(--zp-text);
}
#zp-nav li.zp-active a,
#zp-nav li.zp-active a:hover {
  background: var(--zp-primary-light) !important;
  color: var(--zp-primary) !important;
  font-weight: 600;
}
#zp-nav li a i {
  width: 18px;
  text-align: center;
  font-size: .9rem;
  flex-shrink: 0;
  color: inherit;
}
#zp-nav .zp-nav-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--zp-text-muted);
  padding: 14px 12px 4px;
}

/* ── Sidebar: Open Ticket Button ────────────────────────── */
#zp-new-ticket {
  padding: 14px 14px 6px;
  flex-shrink: 0;
}
#zp-new-ticket a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--zp-primary);
  color: #fff !important;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none !important;
  transition: background .15s, transform .1s;
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
#zp-new-ticket a:hover {
  background: var(--zp-primary-dark);
  transform: translateY(-1px);
}

/* ── Sidebar: Help Footer ───────────────────────────────── */
#zp-sidebar-footer {
  padding: 14px;
  border-top: 1px solid var(--zp-border);
  flex-shrink: 0;
}
#zp-sidebar-footer .zp-help-box {
  background: var(--zp-primary-light);
  border-radius: var(--zp-radius-sm);
  padding: 12px 14px;
}
#zp-sidebar-footer .zp-help-box p {
  margin: 0 0 6px;
  font-size: .78rem;
  color: var(--zp-text-2);
  line-height: 1.5;
}
#zp-sidebar-footer .zp-help-box a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--zp-primary);
  text-decoration: none !important;
}
#zp-sidebar-footer .zp-help-box a:hover { text-decoration: underline !important; }

/* ── Header ─────────────────────────────────────────────── */
#zp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--zp-white);
  border-bottom: 1px solid var(--zp-border);
  height: var(--zp-header-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  flex-shrink: 0;
}
#zp-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
  color: var(--zp-text-2);
  font-size: 1.1rem;
  flex-shrink: 0;
}
#zp-menu-btn:hover { background: var(--zp-bg); color: var(--zp-text); }

/* Search box */
.zp-search-wrap {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.zp-search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--zp-text-muted);
  font-size: .85rem;
  pointer-events: none;
}
.zp-search-wrap input {
  width: 100%;
  border: 1.5px solid var(--zp-border);
  border-radius: 10px;
  padding: 9px 14px 9px 36px;
  font-size: .875rem;
  font-family: inherit;
  color: var(--zp-text);
  background: var(--zp-bg);
  outline: none;
  transition: border-color .15s, background .15s;
}
.zp-search-wrap input::placeholder { color: var(--zp-text-muted); }
.zp-search-wrap input:focus {
  border-color: var(--zp-primary);
  background: var(--zp-white);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* Header right */
.zp-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.zp-notif-btn {
  position: relative;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  color: var(--zp-text-2);
  cursor: pointer;
  font-size: .95rem;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.zp-notif-btn:hover { background: var(--zp-bg); color: var(--zp-text); }
.zp-notif-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--zp-danger);
  color: #fff;
  border-radius: 99px;
  font-size: .6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  border: 2px solid var(--zp-white);
}

/* Profile dropdown */
.zp-profile-wrap {
  position: relative;
}
.zp-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--zp-text-2);
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  transition: background .15s;
}
.zp-profile-btn:hover { background: var(--zp-bg); }
.zp-profile-btn img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--zp-border);
  flex-shrink: 0;
}
.zp-profile-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--zp-text);
  font-weight: 600;
}
.zp-profile-sub {
  font-size: .7rem;
  color: var(--zp-text-muted);
  display: block;
  line-height: 1.2;
}
.zp-profile-btn i { font-size: .7rem; color: var(--zp-text-muted); }
.zp-profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--zp-white);
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius-sm);
  box-shadow: var(--zp-shadow);
  min-width: 180px;
  z-index: 9999;
  overflow: hidden;
}
.zp-profile-dropdown.open { display: block; }
.zp-profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  color: var(--zp-text-2) !important;
  text-decoration: none !important;
  font-size: .85rem;
  transition: background .12s;
}
.zp-profile-dropdown a:hover { background: var(--zp-bg); }
.zp-profile-dropdown a i { width: 16px; text-align: center; }
.zp-profile-dropdown hr { margin: 4px 0; border-color: var(--zp-border); }
.zp-profile-dropdown .zp-logout a { color: var(--zp-danger) !important; }

/* ── Page Content ───────────────────────────────────────── */
#zp-page-content {
  flex: 1;
  padding: 24px;
}

/* Override Bootstrap container inside portal */
body.zp-portal .container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* Hide alerts wrapper until populated */
body.zp-portal .alert-wrapper:empty { display: none; }

/* Legacy support: portal page views still use .row */
body.zp-portal #zp-page-content .row {
  margin: 0;
}

/* ── Footer ─────────────────────────────────────────────── */
body.zp-portal .footer {
  background: var(--zp-bg) !important;
  border-top: 1px solid var(--zp-border);
  padding: 14px 24px;
  color: var(--zp-text-muted);
  font-size: .78rem;
  text-align: center;
}
body.zp-portal .footer .container { padding: 0 !important; }

/* ── Overlay (mobile) ───────────────────────────────────── */
#zp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
}

/* ── Dashboard: Welcome ─────────────────────────────────── */
.zp-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.zp-welcome-text h2 {
  margin: 0 0 2px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--zp-text);
}
.zp-welcome-text p {
  margin: 0;
  font-size: .875rem;
  color: var(--zp-text-muted);
}
.zp-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.zp-qa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: .825rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all .15s;
  white-space: nowrap;
  border: 1.5px solid var(--zp-border);
  color: var(--zp-text-2) !important;
  background: var(--zp-white);
  box-shadow: var(--zp-shadow-sm);
}
.zp-qa-btn:hover { border-color: var(--zp-primary); color: var(--zp-primary) !important; }
.zp-qa-btn.zp-qa-primary {
  background: var(--zp-primary);
  color: #fff !important;
  border-color: var(--zp-primary);
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
}
.zp-qa-btn.zp-qa-primary:hover { background: var(--zp-primary-dark); }

/* ── Dashboard: KPI Cards ───────────────────────────────── */
.zp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.zp-kpi-card {
  background: var(--zp-white);
  border-radius: var(--zp-radius);
  border: 1px solid var(--zp-border);
  padding: 18px 20px;
  box-shadow: var(--zp-shadow-sm);
  cursor: pointer;
  transition: box-shadow .15s, transform .15s, border-color .15s;
  text-decoration: none !important;
  display: block;
}
.zp-kpi-card:hover {
  box-shadow: var(--zp-shadow);
  transform: translateY(-1px);
  border-color: #cbd5e1;
}
.zp-kpi-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.zp-kpi-icon.blue   { background: #DBEAFE; color: #2563EB; }
.zp-kpi-icon.purple { background: #EDE9FE; color: #7C3AED; }
.zp-kpi-icon.orange { background: #FEF3C7; color: #D97706; }
.zp-kpi-icon.green  { background: #DCFCE7; color: #16A34A; }
.zp-kpi-icon.teal   { background: #CCFBF1; color: #0D9488; }
.zp-kpi-icon.indigo { background: #E0E7FF; color: #4F46E5; }
.zp-kpi-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--zp-text);
  line-height: 1;
  margin-bottom: 4px;
}
.zp-kpi-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--zp-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zp-kpi-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--zp-border);
  font-size: .72rem;
  color: var(--zp-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
/* KPI skeleton loading */
.zp-kpi-card.loading .zp-kpi-value,
.zp-kpi-card.loading .zp-kpi-label {
  background: #e2e8f0;
  border-radius: 4px;
  animation: zp-pulse 1.4s ease infinite;
  color: transparent;
}
@keyframes zp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* ── Dashboard: Widget Grid ─────────────────────────────── */
.zp-widgets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.zp-widget {
  background: var(--zp-white);
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
  box-shadow: var(--zp-shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.zp-widget.zp-widget-wide {
  grid-column: span 2;
}
.zp-widget.zp-widget-full {
  grid-column: 1 / -1;
}
.zp-widget-head {
  padding: 16px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--zp-border);
  flex-shrink: 0;
}
.zp-widget-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--zp-text);
  margin: 0;
}
.zp-widget-head a {
  font-size: .75rem;
  font-weight: 600;
  color: var(--zp-primary);
  text-decoration: none !important;
}
.zp-widget-head a:hover { text-decoration: underline !important; }
.zp-widget-body { flex: 1; }
.zp-widget-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  color: var(--zp-text-muted);
  font-size: .85rem;
  gap: 8px;
}
.zp-widget-empty i { font-size: 1.8rem; opacity: .4; }

/* Widget rows */
.zp-widget-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none !important;
  color: var(--zp-text) !important;
  transition: background .12s;
}
.zp-widget-row:last-child { border-bottom: none; }
.zp-widget-row:hover { background: var(--zp-bg); }

/* Ticket row */
.zp-row-id {
  font-size: .78rem;
  font-weight: 700;
  color: var(--zp-primary);
  white-space: nowrap;
  min-width: 90px;
}
.zp-row-title {
  flex: 1;
  font-size: .83rem;
  font-weight: 500;
  color: var(--zp-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.zp-row-date {
  font-size: .72rem;
  color: var(--zp-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.zp-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

/* Status badges */
.zp-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .01em;
  text-transform: none;
}
.zp-badge-open    { background: #DBEAFE; color: #1E40AF; }
.zp-badge-active  { background: #D1FAE5; color: #065F46; }
.zp-badge-waiting { background: #FEF3C7; color: #92400E; }
.zp-badge-closed  { background: #F1F5F9; color: #64748B; }
.zp-badge-danger  { background: #FEE2E2; color: #991B1B; }
.zp-badge-info    { background: #E0F2FE; color: #075985; }
.zp-badge-purple  { background: #EDE9FE; color: #5B21B6; }

/* Invoice / vencimento row */
.zp-row-amount {
  font-size: .875rem;
  font-weight: 700;
  color: var(--zp-text);
  white-space: nowrap;
}
.zp-row-amount.danger { color: var(--zp-danger); }
.zp-row-amount.warning { color: var(--zp-warning); }
.zp-due-label {
  font-size: .7rem;
  color: var(--zp-text-muted);
}
.zp-due-label.danger { color: var(--zp-danger); font-weight: 600; }
.zp-due-label.warning { color: var(--zp-warning); font-weight: 600; }

/* Document row */
.zp-row-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  flex-shrink: 0;
  background: #FEF2F2;
  color: #DC2626;
}
.zp-row-icon.contract { background: #EDE9FE; color: #7C3AED; }
.zp-row-icon.proposal { background: #F0FDF4; color: #16A34A; }
.zp-row-icon.report   { background: #EFF6FF; color: #2563EB; }

/* Asset row */
.zp-asset-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
}
.zp-asset-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: currentColor;
}
.zp-asset-status.active { color: var(--zp-success); }
.zp-asset-status.inactive { color: var(--zp-text-muted); }

/* ── Existing portal pages: panel styling override ─────── */
body.zp-portal .panel_s {
  background: var(--zp-white);
  border-radius: var(--zp-radius);
  border: 1px solid var(--zp-border);
  box-shadow: var(--zp-shadow-sm);
  margin-bottom: 20px;
}
body.zp-portal .panel_s .panel-heading {
  background: var(--zp-white);
  border-bottom: 1px solid var(--zp-border);
  border-radius: var(--zp-radius) var(--zp-radius) 0 0;
  padding: 14px 20px;
  font-weight: 700;
  color: var(--zp-text);
  font-size: .9rem;
}
body.zp-portal .panel_s .panel-body { padding: 20px; }

/* Override Bootstrap form controls in portal */
body.zp-portal .form-control {
  border-color: var(--zp-border);
  border-radius: var(--zp-radius-sm);
  font-family: inherit;
  font-size: .875rem;
  color: var(--zp-text);
}
body.zp-portal .form-control:focus {
  border-color: var(--zp-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
body.zp-portal .btn-primary {
  background: var(--zp-primary);
  border-color: var(--zp-primary);
  border-radius: 9px;
  font-weight: 600;
  font-family: inherit;
}
body.zp-portal .btn-primary:hover {
  background: var(--zp-primary-dark);
  border-color: var(--zp-primary-dark);
}

/* Alert styling */
body.zp-portal .alert {
  border-radius: var(--zp-radius-sm);
  border: none;
  font-size: .875rem;
}
body.zp-portal .alert-success { background: var(--zp-success-light); color: #065F46; }
body.zp-portal .alert-danger  { background: var(--zp-danger-light);  color: #991B1B; }
body.zp-portal .alert-warning { background: var(--zp-warning-light); color: #92400E; }

/* Page title in portal pages */
body.zp-portal .section-client-dashboard h3,
body.zp-portal h3.text-left {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--zp-text);
}

/* Submenu hidden (replaced by sidebar) */
body.zp-portal .submenu.customer-top-submenu {
  display: none !important;
}

/* Tables */
body.zp-portal table.table {
  font-size: .85rem;
}
body.zp-portal table.table th {
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--zp-text-muted);
  border-color: var(--zp-border);
  background: var(--zp-bg);
}
body.zp-portal table.table td {
  color: var(--zp-text-2);
  border-color: #f1f5f9;
  vertical-align: middle;
}

/* ── Widget loading skeleton ───────────────────────────── */
.zp-skeleton-row {
  height: 44px;
  padding: 10px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}
.zp-skeleton-bar {
  background: #e2e8f0;
  border-radius: 4px;
  animation: zp-pulse 1.4s ease infinite;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1280px) {
  .zp-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .zp-widgets-grid {
    grid-template-columns: 1fr 1fr;
  }
  .zp-widget.zp-widget-wide {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  body.zp-portal #zp-sidebar {
    transform: translateX(-100%);
  }
  body.zp-portal #zp-sidebar.open {
    transform: translateX(0);
  }
  body.zp-portal #zp-main {
    margin-left: 0;
  }
  body.zp-portal #zp-overlay.visible {
    display: block;
  }
  #zp-menu-btn {
    display: flex;
  }
  .zp-search-wrap { max-width: 100%; }
  .zp-profile-name { display: none; }
  .zp-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zp-widgets-grid {
    grid-template-columns: 1fr;
  }
  .zp-widget.zp-widget-wide { grid-column: span 1; }
  .zp-welcome { flex-direction: column; }
  .zp-quick-actions { width: 100%; }
  #zp-page-content { padding: 16px; }
  .zp-kpi-card { padding: 14px 16px; }
}
@media (max-width: 480px) {
  .zp-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .zp-kpi-value { font-size: 1.25rem; }
  #zp-header { padding: 0 14px; gap: 8px; }
}

/* ── Utility ─────────────────────────────────────────────── */
.zp-ver-tag {
  font-size: .65rem;
  color: var(--zp-text-muted);
  padding: 2px 8px;
  background: var(--zp-bg);
  border-radius: 99px;
  border: 1px solid var(--zp-border);
  white-space: nowrap;
}
