.zk-skeleton {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  gap: 14px;
  padding: 14px;
  background:
    radial-gradient(900px 420px at 100% -8%, rgba(37, 99, 235, 0.08), transparent 55%),
    #eef2f7;
}

.zk-dot,
.zk-bone,
.zk-stat,
.zk-topbar,
.zk-panel,
.zk-auth-card {
  position: relative;
  overflow: hidden;
}

.zk-dot::after,
.zk-bone::after,
.zk-stat::after,
.zk-topbar::after,
.zk-panel::after,
.zk-auth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgba(255, 255, 255, 0.62) 48%, transparent 78%);
  transform: translateX(-100%);
  animation: zk-shimmer 1.35s ease-in-out infinite;
}

.zk-nav-row:nth-child(2) .zk-bone::after,
.zk-stat:nth-child(2)::after,
.zk-panel .zk-row:nth-child(2)::after { animation-delay: 0.12s; }
.zk-nav-row:nth-child(3) .zk-bone::after,
.zk-stat:nth-child(3)::after,
.zk-panel .zk-row:nth-child(3)::after { animation-delay: 0.24s; }
.zk-nav-row:nth-child(4) .zk-bone::after,
.zk-panel .zk-row:nth-child(4)::after { animation-delay: 0.36s; }

.zk-skeleton.is-done {
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.zk-skeleton.is-holding {
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.zk-has-appbar .zk-skeleton-app {
  display: none !important;
}

.zk-page-skeleton {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 52vh;
}

.zk-page-skeleton .zk-sk-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#zk-page.is-loading > :not(.zk-page-skeleton) {
  display: none !important;
}

.zk-sk-side {
  width: 260px;
  flex: 0 0 260px;
  border-radius: 22px;
  padding: 18px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%),
    #0c1222;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

.zk-sk-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zk-sk-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.zk-bone {
  display: block;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.07);
}

.zk-dot {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  flex: 0 0 34px;
}

.zk-sk-side .zk-bone {
  background: rgba(255, 255, 255, 0.1);
  height: 12px;
}

.zk-sk-side .zk-bone::after,
.zk-sk-side .zk-dot::after {
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.2) 50%, transparent 80%);
}

.zk-sk-brand,
.zk-nav-row,
.zk-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zk-sk-brand { margin-bottom: 8px; }
.zk-bone-name { height: 14px; width: 58%; }
.zk-w1 { width: 72%; }
.zk-w2 { width: 54%; }
.zk-w3 { width: 40%; }
.zk-nav-row { padding: 4px 2px; }

.zk-topbar,
.zk-stat,
.zk-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.zk-topbar { height: 72px; padding: 0 18px; justify-content: space-between; }
.zk-topbar .zk-bone-title { width: 180px; height: 18px; background: rgba(15, 23, 42, 0.08); }
.zk-avatar { width: 40px; height: 40px; border-radius: 999px; background: rgba(37, 99, 235, 0.16); }

.zk-stat {
  min-height: 112px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.zk-stat .zk-dot { background: rgba(37, 99, 235, 0.12); }
.zk-stat .zk-bone { height: 12px; background: rgba(15, 23, 42, 0.08); }

.zk-panel {
  flex: 1;
  min-height: 260px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zk-row-head { height: 14px; width: 28%; background: rgba(15, 23, 42, 0.1); }
.zk-row { height: 36px; border-radius: 12px; background: rgba(15, 23, 42, 0.045); }

.zk-bone-bar { height: 64px; border-radius: 18px; background: #fff; }
.zk-bone-card { height: 160px; border-radius: 22px; background: #fff; }
.zk-bone-title { height: 28px; width: min(420px, 80%); border-radius: 10px; }
.zk-bone-line { height: 12px; width: min(520px, 92%); }
.zk-short { width: min(280px, 60%); }
.zk-bone-hero { min-height: 280px; border-radius: 28px; background: #fff; }
.zk-bone-logo { width: 148px; height: 36px; background: rgba(255, 255, 255, 0.22); }
.zk-bone-h { height: 22px; width: 46%; }
.zk-bone-field { height: 46px; border-radius: 12px; background: rgba(15, 23, 42, 0.06); }
.zk-bone-btn { height: 46px; width: 100%; border-radius: 12px; background: rgba(37, 99, 235, 0.35); }

.zk-hero-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: center;
}

.zk-hero-copy { display: grid; gap: 12px; }

.zk-skeleton-plain .zk-sk-main {
  width: min(1180px, 100%);
  margin: 18px auto 0;
}

.zk-skeleton-auth {
  padding: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background:
    linear-gradient(105deg, rgba(12, 18, 34, 0.72), rgba(12, 18, 34, 0.28)),
    url("images/auth-backdrop.jpg") center / cover no-repeat;
}

.zk-auth-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 64px;
}

.zk-auth-copy .zk-bone { background: rgba(255, 255, 255, 0.2); }

.zk-auth-card {
  margin: auto;
  width: min(420px, calc(100% - 48px));
  padding: 22px;
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

@keyframes zk-shimmer {
  100% { transform: translateX(100%); }
}

html[data-theme="dark"] .zk-skeleton {
  background:
    radial-gradient(900px 420px at 100% -8%, rgba(37, 99, 235, 0.16), transparent 55%),
    #0b1220;
}

html[data-theme="dark"] :is(.zk-skeleton, .zk-page-skeleton) :is(
  .zk-bone,
  .zk-row,
  .zk-row-head,
  .zk-bone-field,
  .zk-bone-title,
  .zk-bone-line,
  .zk-bone-h
) {
  background: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] :is(.zk-skeleton, .zk-page-skeleton) :is(
  .zk-topbar,
  .zk-stat,
  .zk-panel,
  .zk-bone-bar,
  .zk-bone-card,
  .zk-bone-hero,
  .zk-auth-card
) {
  background: #141c2b;
  border-color: #243044;
  box-shadow: none;
}

html[data-theme="dark"] :is(.zk-skeleton, .zk-page-skeleton) .zk-avatar,
html[data-theme="dark"] :is(.zk-skeleton, .zk-page-skeleton) .zk-stat .zk-dot {
  background: rgba(96, 165, 250, 0.22);
}

html[data-theme="dark"] .zk-skeleton .zk-bone-btn {
  background: rgba(37, 99, 235, 0.45);
}

html[data-theme="dark"] :is(.zk-skeleton, .zk-page-skeleton) :is(.zk-bone, .zk-stat, .zk-topbar, .zk-panel, .zk-auth-card, .zk-dot)::after {
  background: linear-gradient(100deg, transparent 18%, rgba(226, 232, 240, 0.14) 48%, transparent 78%);
}

html[data-theme="dark"] .zk-skeleton-auth {
  background:
    linear-gradient(105deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.62)),
    url("images/auth-backdrop.jpg") center / cover no-repeat;
}

.zk-skeleton.zk-skeleton-login {
  inset: 0;
  width: min(1080px, calc(100% - 48px));
  height: min(700px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 36px 80px rgba(40, 32, 24, 0.28);
}

.zk-skeleton-login .zk-auth-copy {
  justify-content: center;
  margin: 0;
  padding: 48px;
  border-radius: 0;
  background: #171717;
}

.zk-skeleton-login .zk-auth-card {
  width: auto;
  height: auto;
  margin: 0;
  align-self: center;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 800px) {
  .zk-sk-side { display: none; }
  .zk-page-skeleton .zk-sk-row,
  .zk-sk-row,
  .zk-hero-split,
  .zk-skeleton-auth,
  .zk-skeleton-login { grid-template-columns: 1fr; }
  .zk-skeleton { padding: 10px; }
  .zk-auth-copy { display: none; }
  .zk-skeleton-auth,
  .zk-skeleton-login { padding: 18px; }
}

@media (max-width: 900px) {
  .zk-skeleton.zk-skeleton-login {
    width: 100%;
    height: 100%;
    border-radius: 0;
    grid-template-columns: 1fr;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .zk-page-skeleton .zk-sk-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zk-skeleton,
  .zk-bone::after {
    animation: none;
  }
}

.nav-item .material-icons,
.nav-sub-item .material-icons,
.mobile-menu-link .material-icons,
.mobile-nav-item .material-icons,
.side-link > i {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  font-size: 1.125rem;
  line-height: 1;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.nav-item .material-icons::after,
.mobile-menu-link .material-icons::after,
.side-link > i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.55) 50%, transparent 72%);
  transform: translateX(-130%);
  pointer-events: none;
}

.nav-item:hover .material-icons,
.nav-sub-item:hover .material-icons,
.mobile-menu-link:hover .material-icons,
.side-link:hover > i,
.menu-item:hover .mi-ico {
  transform: translateY(-2px) scale(1.06);
  background: rgba(96, 165, 250, 0.28);
  color: #fff;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.28);
}

.nav-item:hover .material-icons::after,
.mobile-menu-link:hover .material-icons::after,
.side-link:hover > i::after {
  animation: zk-shine 0.7s ease;
}

.nav-item.active .material-icons,
.nav-sub-item.active .material-icons,
.side-link.active > i,
.mobile-nav-item.active .material-icons {
  background: linear-gradient(145deg, #60a5fa, #2563eb 55%, #059669);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.4);
}

.mobile-nav-item .material-icons,
.mobile-menu-panel .mobile-menu-link .material-icons {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.mobile-menu-panel .mobile-menu-link.active .material-icons {
  background: linear-gradient(145deg, #60a5fa, #2563eb 55%, #059669);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.4);
}

.mobile-menu-panel .mobile-menu-link.is-logout .material-icons {
  background: rgba(225, 29, 72, 0.1);
  color: #be123c;
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.14);
}

.nav-section-toggle .material-icons,
.nav-section-toggle .material-icons::after {
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.notification-icon,
.stat-icon,
.kpi-icon,
.launcher-product-icon,
.launcher-metric-icon,
.product .icon,
.brand-mark,
.brand .mark,
.sidebar-brand-mark {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.notification-icon:hover,
.card:hover .stat-icon,
.kpi-card:hover .kpi-icon,
.launcher-product-card:hover .launcher-product-icon,
.product:hover .icon,
.brand:hover .brand-mark,
.brand:hover .mark {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.sidebar-brand-mark,
.brand-mark,
.brand .mark {
  animation: zk-glow 3.6s ease-in-out infinite;
}

@keyframes zk-shine {
  to { transform: translateX(130%); }
}

@keyframes zk-glow {
  0%, 100% { box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22); }
  50% { box-shadow: 0 10px 26px rgba(5, 150, 105, 0.32); }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar-brand-mark,
  .brand-mark,
  .nav-item .material-icons,
  .side-link > i {
    animation: none;
    transition: none;
  }
}

body.zk-has-appbar {
  --zk-appbar-space: 64px;
}

.zk-appbar [hidden],
.zk-live[hidden],
.zk-panel-pop[hidden],
.zk-badge[hidden] {
  display: none !important;
}

.zk-appbar {
  position: fixed;
  z-index: 1400;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.zk-appbar button,
.zk-appbar a {
  font-family: inherit;
  font-size: inherit;
}

.zk-appbar-menu,
.zk-icon-btn,
.zk-launch-btn,
.zk-ticker {
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.zk-appbar-menu {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border-color: rgba(15, 23, 42, 0.08);
  background: #fff;
}

.zk-appbar-menu svg,
.zk-icon-btn svg {
  width: 22px;
  height: 22px;
}

.zk-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 280px;
  flex: 0 1 280px;
  color: inherit;
  text-decoration: none;
}

.zk-profile-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.zk-profile-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.zk-profile-name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zk-profile-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zk-profile-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  animation: zk-pulse 1.8s ease-out infinite;
  flex: 0 0 auto;
}

.zk-ticker-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.zk-ticker {
  position: relative;
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 12px;
  border-color: rgba(15, 23, 42, 0.06);
  background: rgba(241, 245, 249, 0.9);
  text-align: left;
}

.zk-ticker-live {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #2563eb;
  flex: 0 0 auto;
}

.zk-ticker.is-hot .zk-ticker-live {
  background: #f59e0b;
}

.zk-ticker-kicker {
  flex: 0 0 auto;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

.zk-ticker-viewport {
  flex: 1 1 auto;
  min-width: 0;
  height: 22px;
  overflow: hidden;
}

.zk-ticker-slide {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.zk-ticker-slide.is-leaving {
  transform: translateY(-80%);
  opacity: 0;
}

.zk-ticker-slide.is-entering {
  transform: translateY(80%);
  opacity: 0;
  transition: none;
}

.zk-ticker-slide strong,
.zk-ticker-slide span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zk-ticker-slide strong {
  flex: 0 1 auto;
  font-size: 0.8125rem;
}

.zk-ticker-slide span {
  flex: 1 1 auto;
  min-width: 0;
  color: #64748b;
  font-size: 0.75rem;
}

.zk-ticker time {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 0.6875rem;
  font-weight: 700;
}

.zk-ticker-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #2563eb;
}

.zk-ticker.is-cycling .zk-ticker-progress {
  animation: zk-ticker-progress 4.6s linear infinite;
}

.zk-live {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  animation: zk-live-in 0.28s ease;
}

.zk-live strong {
  display: block;
  font-size: 0.8125rem;
}

.zk-live p,
.zk-live-kicker {
  margin: 0;
  color: #64748b;
  font-size: 0.75rem;
}

.zk-live-kicker {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 2px;
}

.zk-live-pulse {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 99px;
  background: #f59e0b;
  flex: 0 0 auto;
}

.zk-appbar-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.zk-pop {
  position: relative;
}

.zk-icon-btn,
.zk-launch-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  position: relative;
}

.zk-icon-btn:hover,
.zk-launch-btn:hover,
.zk-appbar-menu:hover,
.zk-icon-btn[aria-expanded="true"],
.zk-launch-btn[aria-expanded="true"] {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.16);
}

.zk-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #e11d48;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.zk-badge.is-hot {
  animation: zk-badge-pop 0.35s ease;
}

.zk-dots {
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
}

.zk-dots i {
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: #5f6368;
  display: block;
}

.zk-launch-btn:hover .zk-dots i,
.zk-launch-btn[aria-expanded="true"] .zk-dots i {
  background: #1a73e8;
}

.zk-panel-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.zk-events {
  width: min(360px, calc(100vw - 24px));
}

.zk-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  font-size: 0.875rem;
}

.zk-panel-head span {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
}

.zk-events-list {
  max-height: min(60vh, 420px);
  overflow: auto;
  padding: 0 8px 8px;
}

.zk-event {
  width: 100%;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.zk-event:hover {
  background: #f8fafc;
}

.zk-event-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 99px;
  background: transparent;
}

.zk-event.is-unread .zk-event-dot {
  background: #2563eb;
}

.zk-event strong,
.zk-event p {
  display: block;
  margin: 0;
}

.zk-event strong {
  font-size: 0.8125rem;
}

.zk-event p {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.4;
}

.zk-event time {
  color: #94a3b8;
  font-size: 0.6875rem;
  font-weight: 700;
  white-space: nowrap;
}

.zk-events-empty {
  padding: 22px 12px;
  color: #64748b;
  text-align: center;
  font-size: 0.8125rem;
}

.zk-launch-panel {
  width: min(332px, calc(100vw - 24px));
  padding: 12px 12px 0;
}

.zk-launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.zk-launch-app {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 6px 10px;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.zk-launch-app:hover {
  background: #f1f3f4;
}

.zk-launch-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
}

.zk-launch-icon svg {
  width: 24px;
  height: 24px;
}

.zk-launch-app.is-current .zk-launch-icon {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a73e8;
}

.zk-launch-name {
  font-size: 0.75rem;
  font-weight: 700;
}

.zk-launch-hint {
  font-size: 0.6875rem;
  color: #64748b;
}

.zk-launch-all {
  display: block;
  margin: 8px -12px 0;
  padding: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
  text-decoration: none;
  color: #1a73e8;
  font-size: 0.8125rem;
  font-weight: 700;
}

.zk-launch-all:hover {
  background: #f8fafc;
}

body.zk-has-appbar .page-container > .sidebar {
  top: calc(var(--zk-appbar-space, 64px) + var(--sidebar-detach, 10px));
}

body.zk-has-appbar .main-content {
  padding-top: calc(var(--zk-appbar-space, 64px) + 12px);
}

body.zk-has-appbar .main-content > .header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  z-index: 2;
  background: #fff;
  margin-bottom: 0.85rem;
}

body.zk-has-appbar.has-admin-mobile-nav .admin-wrap {
  padding-top: calc(var(--zk-appbar-space, 64px) + 14px);
}

@media (max-width: 980px) {
  body.zk-has-appbar.has-admin-mobile-nav .zk-appbar-menu {
    display: inline-flex;
  }

  body.zk-has-appbar.has-admin-mobile-nav .admin-mobile-header {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body.zk-has-appbar {
    --zk-appbar-space: 112px;
  }

  body.zk-has-appbar .page-container > .sidebar {
    top: var(--zk-appbar-space, 112px);
    height: calc(100vh - var(--zk-appbar-space, 112px));
    bottom: 0;
  }

  body.zk-has-appbar .zk-appbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "menu profile tools"
      "ticker ticker ticker";
  }

  body.zk-has-appbar .zk-appbar-menu {
    display: inline-flex;
    grid-area: menu;
  }

  body.zk-has-appbar .zk-profile {
    grid-area: profile;
    max-width: none;
  }

  body.zk-has-appbar .zk-appbar-tools {
    grid-area: tools;
  }

  body.zk-has-appbar .zk-ticker-wrap {
    grid-area: ticker;
  }

  body.zk-has-appbar .shell-menu,
  body.zk-has-appbar .admin-menu-toggle {
    display: none !important;
  }
}

html[data-theme="dark"] .zk-appbar,
html[data-theme="dark"] .zk-panel-pop,
html[data-theme="dark"] .zk-live {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
}

html[data-theme="dark"] .zk-ticker,
html[data-theme="dark"] .zk-appbar-menu {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .zk-profile-meta,
html[data-theme="dark"] .zk-ticker-slide span,
html[data-theme="dark"] .zk-event p,
html[data-theme="dark"] .zk-launch-hint,
html[data-theme="dark"] .zk-live p {
  color: #94a3b8;
}

html[data-theme="dark"] .zk-profile-avatar {
  color: #e5e7eb;
}

html[data-theme="dark"] .zk-dots i {
  background: #cbd5e1;
}

html[data-theme="dark"] .zk-event:hover,
html[data-theme="dark"] .zk-launch-app:hover,
html[data-theme="dark"] .zk-launch-all:hover {
  background: rgba(148, 163, 184, 0.12);
}

html[data-theme="dark"] .zk-launch-app.is-current .zk-launch-icon {
  box-shadow: 0 0 0 2px #0f172a, 0 0 0 4px #60a5fa;
}

@keyframes zk-pulse {
  70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@keyframes zk-ticker-progress {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes zk-live-in {
  from { transform: translateY(-8px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes zk-badge-pop {
  50% { transform: scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
  .zk-profile-dot,
  .zk-ticker.is-cycling .zk-ticker-progress,
  .zk-ticker-slide,
  .zk-live,
  .zk-badge.is-hot {
    animation: none;
    transition: none;
  }
}

@media print {
  .zk-appbar { display: none !important; }
  body.zk-has-appbar .main-content { padding-top: 0 !important; }
}

.zk-logo {
  --zk-logo-ink: #0b1f4d;
  --zk-logo-one: #0f9f94;
  --zk-logo-rule: rgba(11, 31, 77, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.62em;
  font-size: 0.9375rem;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.zk-logo-mark {
  display: block;
  flex: 0 0 auto;
  width: 2.3em;
  height: auto;
  transition: transform 0.22s ease;
}

.zk-logo-word {
  display: flex;
  flex-direction: column;
  gap: 0.26em;
  padding-left: 0.62em;
  border-left: 1px solid var(--zk-logo-rule);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.zk-logo-name {
  color: var(--zk-logo-ink);
  font-size: 1em;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.zk-logo-one {
  color: var(--zk-logo-one);
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.34em;
}

.zk-logo-tag {
  margin-left: 0.1em;
  padding: 0.32em 0.6em;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a:hover > .zk-logo .zk-logo-mark,
a.zk-logo:hover .zk-logo-mark {
  transform: translateY(-1px) scale(1.04);
}

.zk-logo--light,
html[data-theme="dark"] .zk-logo {
  --zk-logo-ink: #f1f5f9;
  --zk-logo-one: #5eead4;
  --zk-logo-rule: rgba(241, 245, 249, 0.28);
}

.zk-logo--light .zk-logo-tag,
html[data-theme="dark"] .zk-logo-tag {
  background: rgba(94, 234, 212, 0.14);
  color: #99f6e4;
}

@media (max-width: 380px) {
  .zk-logo { font-size: 0.8125rem; }
}

/* Low resolution desktops and laptops. Every rem-based size follows the root font size;
   phones and touch tablets keep full size so tap targets stay comfortable. */
@media (min-width: 769px) and (pointer: fine) and (max-width: 1600px),
       (min-width: 769px) and (pointer: fine) and (max-height: 860px) {
  html { font-size: 0.9375rem; }

  :root {
    --sidebar-width: 216px;
    --sidebar-detach: 8px;
    --sidebar-gap: 8px;
  }

  body.zk-has-appbar { --zk-appbar-space: 58px; }
  .zk-appbar { min-height: 58px; padding: 6px 12px; gap: 10px; }
  .zk-appbar-menu,
  .zk-icon-btn,
  .zk-launch-btn,
  .zk-profile-avatar { width: 36px; height: 36px; border-radius: 11px; }
  .zk-ticker { height: 38px; }
}

@media (min-width: 769px) and (pointer: fine) and (max-width: 1440px),
       (min-width: 769px) and (pointer: fine) and (max-height: 760px) {
  html { font-size: 0.875rem; }
  body { font-size: 0.7812rem; }

  :root {
    --sidebar-width: 204px;
    --radius: 10px;
  }

  body.zk-has-appbar { --zk-appbar-space: 52px; }
  .zk-appbar { min-height: 52px; padding: 5px 10px; }
  .zk-appbar-menu,
  .zk-icon-btn,
  .zk-launch-btn,
  .zk-profile-avatar { width: 34px; height: 34px; border-radius: 10px; }
  .zk-appbar-menu svg,
  .zk-icon-btn svg { width: 20px; height: 20px; }
  .zk-ticker { height: 34px; }
  .zk-profile { flex-basis: 240px; max-width: 240px; }
  body.zk-has-appbar .main-content { padding-top: calc(var(--zk-appbar-space) + 10px); }
}

@media (prefers-reduced-motion: reduce) {
  .zk-logo-mark { transition: none; }
}
