.mp-1-passkey-maintenance {
  min-height: 320px;
  color: #172033;
}

.mp-1-passkey-toolbar {
  position: sticky;
  z-index: 2;
  top: 48px;
  display: flex;
  min-height: 64px;
  padding: 14px 20px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e9f0;
  background: #fff;
}

.mp-1-passkey-summary {
  color: #586174;
  font-size: 14px;
  line-height: 22px;
}

.mp-1-passkey-button {
  min-width: 0;
  height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.mp-1-passkey-button-primary {
  border: 1px solid #1677ff;
  background: #1677ff;
  color: #fff;
}

.mp-1-passkey-button-secondary {
  border: 1px solid #cfd5df;
  background: #fff;
  color: #3e485b;
}

.mp-1-passkey-button-danger {
  border: 1px solid #d9363e;
  background: #d9363e;
  color: #fff;
}

.mp-1-passkey-button:disabled {
  border-color: #d9dee8;
  background: #f3f5f7;
  color: #9aa3b2;
  cursor: not-allowed;
}

.mp-1-passkey-list {
  padding: 0 20px 8px;
}

.mp-1-passkey-item {
  padding: 20px 0;
  border-bottom: 1px solid #e5e9f0;
}

.mp-1-passkey-item:last-child {
  border-bottom: 0;
}

.mp-1-passkey-item-header {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mp-1-passkey-label {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.mp-1-passkey-item-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.mp-1-passkey-text-button,
.mp-1-passkey-back-button {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #1677ff;
  font-size: 14px;
  line-height: 22px;
  cursor: pointer;
}

.mp-1-passkey-text-button.is-danger {
  color: #c52d35;
}

.mp-1-passkey-timestamps {
  display: flex;
  margin-top: 6px;
  flex-wrap: wrap;
  gap: 6px 20px;
  color: #7a8496;
  font-size: 12px;
  line-height: 20px;
}

.mp-1-passkey-rename {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 14px;
  padding-top: 14px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf0f4;
}

.mp-1-passkey-input {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  box-sizing: border-box;
  border: 1px solid #cfd5df;
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: #172033;
  font-size: 14px;
}

.mp-1-passkey-input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgb(22 119 255 / 14%);
}

.mp-1-passkey-inline-actions,
.mp-1-passkey-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.mp-1-passkey-status,
.mp-1-passkey-empty {
  min-height: 260px;
  display: flex;
  padding: 32px 20px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #687286;
  text-align: center;
}

.mp-1-passkey-empty {
  min-height: 240px;
}

.mp-1-passkey-status-title,
.mp-1-passkey-empty-title {
  color: #3e485b;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
}

.mp-1-passkey-empty-description {
  max-width: 420px;
  color: #7a8496;
  font-size: 13px;
  line-height: 20px;
}

.mp-1-passkey-subview {
  min-height: 320px;
  padding: 22px 24px 28px;
  box-sizing: border-box;
  color: #172033;
}

.mp-1-passkey-subview-header {
  margin-bottom: 22px;
}

.mp-1-passkey-subview-title {
  margin-top: 12px;
  color: #172033;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.mp-1-passkey-subview-description {
  margin-top: 5px;
  color: #687286;
  font-size: 13px;
  line-height: 20px;
}

.mp-1-passkey-form {
  max-width: 520px;
}

.mp-1-passkey-field {
  display: block;
  margin-bottom: 16px;
  color: #586174;
  font-size: 13px;
  line-height: 20px;
}

.mp-1-passkey-field > span {
  display: block;
  margin-bottom: 6px;
}

.mp-1-passkey-form-actions {
  margin-top: 22px;
}

.mp-1-passkey-revocation-target {
  padding: 14px 16px;
  border-left: 3px solid #d9363e;
  background: #f7f8fa;
}

.mp-1-passkey-proof-switcher {
  display: flex;
  margin-top: 20px;
  padding: 3px;
  box-sizing: border-box;
  border: 1px solid #d9dee8;
  border-radius: 6px;
  background: #eef1f5;
}

.mp-1-passkey-proof-switch {
  flex: 1;
  min-width: 0;
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #586174;
  cursor: pointer;
}

.mp-1-passkey-proof-switch.is-active {
  background: #fff;
  color: #1677ff;
  box-shadow: 0 1px 3px rgb(23 32 51 / 12%);
}

.mp-1-passkey-proof-switch:disabled {
  color: #a7afbd;
  cursor: not-allowed;
}

.mp-1-passkey-proof-body {
  min-height: 78px;
  margin-top: 16px;
}

.mp-1-passkey-proof-help {
  padding: 10px 0;
  color: #586174;
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 640px) {
  .mp-1-passkey-toolbar,
  .mp-1-passkey-list {
    padding-right: 16px;
    padding-left: 16px;
  }

  .mp-1-passkey-rename {
    grid-template-columns: 1fr;
  }

  .mp-1-passkey-rename .mp-1-passkey-inline-actions,
  .mp-1-passkey-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mp-1-passkey-subview {
    padding: 18px 16px 24px;
  }
}
