.task-panel {
  min-width: 0;
  overflow-x: clip;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(205, 215, 229, 0.86);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.header-title {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 240px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--menu-icon-color, #172033);
}

.brand-mark .menu-icon-box {
  width: 24px;
  height: 24px;
  background: transparent;
  color: var(--menu-icon-color, currentColor);
}

.brand-mark .menu-svg-icon {
  width: 22px;
  height: 22px;
}

.brand-mark .custom-menu-icon-box {
  overflow: hidden;
  border-radius: 6px;
}

.app-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  box-shadow: 0 10px 22px rgba(7, 89, 98, 0.18);
}

.app-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-brand .app-logo {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}

.app-logo.drawer-logo-button {
  cursor: pointer;
}

.eyebrow,
.section-kicker {
  margin: 0 0 3px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-title h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.header-kicker-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.header-kicker-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-subtitle {
  margin-top: 5px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(520px, 100%);
  min-width: 0;
}

.stat {
  min-height: 54px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.stat strong {
  display: block;
  font-size: 21px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.task-panel {
  min-height: calc(100vh - 18px);
  padding: 9px;
}

.panel-header {
  position: sticky;
  top: 9px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  margin-bottom: 12px;
}

@media (max-width: 880px) {
  .panel-header {
    top: 8px;
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .stats {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
