/* Identity Faker — only the card / dl-grid / avatar bits. Framework = vendored PicoCSS;
   brand/chrome (.muted, .theme-toggle, header) = /shared/apitools-theme.css. */
#options { margin-bottom: 1.5rem; }
.htmx-indicator { opacity: 0; }
.htmx-request .htmx-indicator { opacity: 1; }

.card-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.avatar {
  border-radius: 0.75rem;
  background: var(--pico-secondary-background, #8882);
  flex: 0 0 auto;
}
.card-id h3 { margin-bottom: 0.25rem; }
.addr { margin-bottom: 0.25rem; }

.sections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem 1.5rem;
}
.sections h4 {
  margin-bottom: 0.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--pico-muted-border-color, #8883);
}
.grid-dl { margin: 0; }
.field { margin-bottom: 0.45rem; }
.field dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.6; }
.field dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
}
.field .val { word-break: break-word; }
.copy {
  width: auto;
  padding: 0.05rem 0.45rem;
  font-size: 0.7rem;
  flex: 0 0 auto;
}

.qr { margin-top: 1.5rem; }
.qr img { background: #fff; border-radius: 0.5rem; margin-top: 0.5rem; }

.downloads {
  margin-top: 1.5rem;
  display: flex;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
}
.downloads label { margin: 0; }
.downloads input { width: 8rem; }
.dl-buttons { display: flex; gap: 0.5rem; }
.dl-buttons a { width: auto; }
