.fast-identity {
  margin-block: 18px;
  padding: 15px;
  border: 1px solid var(--line, #d8d4ca);
  border-radius: 14px;
  background: var(--paper, #fff);
}
.fast-identity [hidden] { display: none !important; }
.fast-identity-omitted { display: none !important; }
.fast-identity-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.fast-identity-top div, .fast-identity label { display: grid; gap: 6px; min-width: 0; }
.fast-identity-top small, .fast-identity p, .fast-identity-summary small { font-size: .8rem; color: var(--muted, #5d584e); line-height: 1.45; }
.fast-identity-top #fastUseIdentity {
  white-space: nowrap; min-height: 42px; color: #232323;
  border: 1px solid #b2a897; background: #fff;
}
.fast-identity-top #fastUseIdentity:hover:not(:disabled) { background: #f4eee3; }
.fast-identity-top #fastUseIdentity[aria-pressed="true"] {
  border-color: #9b7e44; background: #f0e7d5; box-shadow: inset 0 0 0 1px #9b7e44;
}
.fast-identity-top #fastUseIdentity:focus-visible { outline: 2px solid #6b572e; outline-offset: 3px; }
#fastIdentityFields { display: grid; gap: 12px; margin-top: 14px; }
.fast-identity-summary {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 10px; border: 1px solid var(--line, #d8d4ca); border-radius: 10px;
}
.fast-identity-summary img { width: 60px; height: 38px; object-fit: contain; }
.fast-identity-summary div { display: grid; gap: 3px; }
.fast-identity-colors { display: flex; gap: 4px; }
.fast-identity-colors i { display: block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.19); background: var(--identity-swatch); }
.fast-identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.fast-identity label { font-size: .84rem; font-weight: 650; }
.fast-identity select, .fast-identity input, .fast-identity textarea {
  width: 100%; min-width: 0; color: var(--ink, #232323); background: #fff;
  border: 1px solid var(--line, #d8d4ca); border-radius: 9px; padding: 9px; font: inherit; font-weight: 400;
}
.fast-identity textarea { resize: vertical; }
.fast-identity p { margin: 0; }
.fast-identity-preview { display: flex; align-items: center; gap: 10px; margin: 0; }
.fast-identity-preview img { width: 52px; height: 50px; object-fit: contain; border-radius: 5px; background: #eeeae2; }
.fast-identity-preview figcaption { font-size: .8rem; line-height: 1.4; }
.fast-identity-copy { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line, #d8d4ca); }
@media (max-width: 620px) { .fast-identity-grid { grid-template-columns: 1fr; } }
