/* app.css — app-shell + grids; colors/spacing from LombokCSS tokens. */
.shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}
@media (min-width: 900px) {
  .shell {
    grid-template-columns: 236px 1fr;
  }
}
.sidebar {
  border-inline-end: 1px solid var(--lc-border);
  padding: 16px;
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  background: var(--lc-surface);
}
.sidebar .brand {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--lc-text);
  text-decoration: none;
  font-size: 0.94rem;
}
.side-nav a:hover {
  background: var(--lc-surface-2, #f1f3f5);
}
.side-nav a.active {
  background: var(--lc-accent, #2f6bd8);
  color: #fff;
}
.content {
  padding: 18px 22px;
  min-width: 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lc-space-4);
}
@media (min-width: 1000px) {
  .kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lc-space-4);
}
@media (min-width: 900px) {
  .two {
    grid-template-columns: 1fr 1fr;
  }
  .thirds {
    grid-template-columns: 1fr 2fr;
  }
}
.thirds {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lc-space-4);
}

.chart-md {
  height: 240px;
}
.chart-sm {
  height: 210px;
}
.chart-wide {
  height: 260px;
}
.spark {
  height: 38px;
  width: 100%;
  margin-top: 6px;
}
.num {
  font-variant-numeric: tabular-nums;
}
.stat-value {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
}
.feed .it {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  padding: 8px 0;
  border-block-end: 1px solid var(--lc-border);
  font-size: 0.9rem;
}
.feed .it:last-child {
  border: 0;
}
.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lc-accent, #2f6bd8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.crm-table td,
.crm-table th {
  font-variant-numeric: tabular-nums;
}
