/* ── CLIENTS SCREEN ─────────────────────────────────────── */
#s-clients {
  flex-direction: column
}

#clients-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 28px 40px
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px
}

/* REPORT EXAMPLE CLIENT */
.client-tile.re-client {
  border-color: rgba(200, 75, 47, .3);
  background: rgba(200, 75, 47, .04);
  position: relative
}

.client-tile.re-client-locked {
  opacity: .72;
  cursor: default
}

.re-client-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #c84b2f;
  background: rgba(200, 75, 47, .1);
  border: 1px solid rgba(200, 75, 47, .25);
  border-radius: 4px;
  padding: 1px 7px;
  margin-bottom: 7px;
  line-height: 1.5;
  white-space: nowrap
}

.client-tile {
  background: var(--bg-cool);
  border: 1px solid var(--bg-sand);
  border-radius: var(--radius-card);
  padding: 18px 18px 14px;
  cursor: pointer;
  transition: box-shadow .15s, border-color .15s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.client-tile:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light)
}

.client-tile-bar {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 8px
}

.client-tile-name {
  font-family: var(--font-display);
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.client-tile-meta {
  font-size: 10px;
  color: var(--light);
  margin-top: 2px
}

.client-tile-del {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--bd);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 4px;
  transition: color .12s, background .12s;
  display: none
}

.client-tile:hover .client-tile-del {
  display: block
}

.client-tile-del:hover {
  color: var(--accent);
  background: rgba(200, 75, 47, .07)
}

.client-new {
  border-style: dashed;
  color: var(--light);
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  min-height: 96px
}

.client-new:hover {
  border-color: var(--mid);
  color: var(--mid)
}
