.identity-view{min-width:0;max-width:100%;font-size:14px;line-height:20px}.identity-view .heading{font-size:24px;line-height:32px;font-weight:600}.identity-tabs,.identity-toolbar,.identity-row,.identity-directory,.identity-filters,.identity-form,.identity-editor,.identity-secret,.identity-confirm{display:flex;gap:12px;flex-wrap:wrap;min-width:0}.identity-tabs{margin-bottom:24px}.identity-tabs [aria-current=page]{background:var(--accent-soft,#eeede8);font-weight:600}.identity-field{display:flex;flex:1 1 160px;flex-direction:column;gap:8px;min-width:0}.identity-field input,.identity-field select,.identity-field textarea{width:100%;max-width:100%;min-width:0}.identity-field input[type=checkbox]{width:18px;height:18px;align-self:flex-start}.identity-filters,.identity-toolbar{margin-bottom:16px;align-items:end}.identity-list{display:grid;gap:12px}.identity-row{padding:16px;align-items:center}.identity-row>strong,.identity-row>p,.identity-row>details{flex-basis:100%;margin:0;overflow-wrap:anywhere}.identity-editor{padding:24px;margin-top:16px;flex-direction:column}.identity-form{align-items:flex-start}.identity-form>h3,.identity-form>p,.identity-permissions,.identity-choices{width:100%}.identity-choices,.identity-permissions{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}.identity-check{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.identity-check input{width:16px;height:16px;flex:none}.identity-check small{flex-basis:100%;overflow-wrap:anywhere}.identity-secret,.identity-confirm{flex-direction:column;margin-top:16px;padding:16px;overflow-wrap:anywhere}.identity-password{font-size:18px;line-height:28px;user-select:all;overflow-wrap:anywhere}.identity-event-detail{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:inherit}.identity-dialog{width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,#ddd);border-radius:16px}.identity-dialog>.dialog{width:100%;max-height:calc(100dvh - 32px);overflow-y:auto}.identity-view button:focus-visible,.identity-view input:focus-visible,.identity-view select:focus-visible,.identity-view textarea:focus-visible{outline:2px solid var(--accent,#436647);outline-offset:2px}.identity-view button:hover{filter:brightness(.96)}.identity-view button:active{transform:scale(.98)}.identity-directory{margin:12px 0}.identity-view .error-box{overflow-wrap:anywhere}@media(max-width:600px){.identity-filters,.identity-form{flex-direction:column;align-items:stretch}.identity-field{flex-basis:auto;width:100%}.identity-editor{padding:16px}.identity-tabs .button{flex:1 1 auto}.identity-row .button{max-width:100%;white-space:normal}.identity-dialog .dialogbody{padding:16px}}

.permission-group{min-width:0;display:grid;gap:12px;border:1px solid var(--line,#ddd);border-radius:8px;padding:16px}.permission-group legend{padding:0 8px}.identity-form textarea{font:inherit;border:1px solid var(--line,#ddd);border-radius:8px;padding:8px;min-height:80px}.identity-view p{text-wrap:pretty}.identity-view h1,.identity-view h2,.identity-view h3{text-wrap:balance}

.identity-form > .account-save {
  align-self: flex-end;
  margin-inline-start: auto;
}

@media (max-width: 600px) {
  .identity-form > .account-save {
    width: 100%;
  }
}
