/* credits — the balance side of an identity. Leans on shared/theme.css. */

.cr-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cr-head h1 { font-size: 1.5rem; }
.cr-head select {
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 9px;
  background: rgba(0, 0, 0, 0.35); color: var(--text); font-size: 0.88rem;
}

.field input[type="text"], .field input[type="password"] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 9px;
  background: rgba(0, 0, 0, 0.35); color: var(--text); font-family: var(--mono); font-size: 0.85rem;
}
.field input:focus { outline: none; border-color: var(--blue); }
.field > label { display: block; margin-bottom: 7px; }

.cr-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; margin: 18px 0; }
.cr-cell { background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px; }
.cr-cell .k { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.cr-cell .v { font-family: var(--mono); font-size: 0.9rem; overflow-wrap: anywhere; }
.cr-cell .v.big { font-size: 1.25rem; }
/* One key per line: the text carries newlines, which HTML would otherwise eat. */
.cr-cell.keys-cell { grid-column: 1 / -1; }
#convertAddresses .cr-cell .v { white-space: pre-line; line-height: 1.6; }
.cr-cell.keys-cell .v { white-space: pre-line; line-height: 1.7; font-size: 0.82rem; }

.keys + .keys { margin-top: 10px; }
#actions .keys > summary { font-weight: 600; }
#actions .fineprint { margin-bottom: 12px; }
