/* ---- Accounts Section ---- */
.section-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ---- Household Link in Grid ---- */
.household-link {
  color: #0284c7;
  text-decoration: none;
}

.household-link:hover {
  text-decoration: underline;
}

/* ---- AG Grid Container ---- */
/* On the Accounts/Households pages the body is locked to viewport height
   (see body.app-grid-page in shared.css), so the grid uses flex:1 to fill
   whatever space is left under the section title. min-height:0 is
   required so the grid is allowed to shrink inside its flex parent
   (otherwise its content would push the parent past 100vh). */
.accounts-grid {
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
}

/* When showing a loading/error message, opt out of flex sizing so the
   message renders in a fixed 200px panel rather than a tall empty box. */
.accounts-grid.grid-status {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 200px;
  color: #64748b;
  font-size: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
